Skip to content

Instantly share code, notes, and snippets.

@nez
Created February 3, 2021 02:38
Show Gist options
  • Save nez/be9220bd72f563fb18fb8046226acd2b to your computer and use it in GitHub Desktop.
Save nez/be9220bd72f563fb18fb8046226acd2b to your computer and use it in GitHub Desktop.
auto turn off printer
blueprint:
name: Auto turn off printer
description: Automatically turn printer off when it finishes printing
domain: automation
input:
printer_entity:
switch_entity:
trigger:
platform: state
entity_id: !input printer_entity
action:
service: switch.turn_off
entity_id: !input switch_entity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment