Setup prusa mini lights
This commit is contained in:
parent
713cc83484
commit
7096529d1e
@ -1,3 +1,31 @@
|
||||
- id: prusa_mini_door_open
|
||||
alias: '[Prusa Mini] Door open'
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- binary_sensor.prusa_mini_door_window_door_is_open
|
||||
from: "off"
|
||||
to: "on"
|
||||
action:
|
||||
- service: light.turn_on
|
||||
target:
|
||||
entity_id: light.prusa_mini_light_light
|
||||
|
||||
- id: prusa_mini_door_close
|
||||
alias: '[Prusa Mini] Door close'
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- binary_sensor.prusa_mini_door_window_door_is_open
|
||||
from: "on"
|
||||
to: "off"
|
||||
action:
|
||||
- service: light.turn_off
|
||||
target:
|
||||
entity_id: light.prusa_mini_light_light
|
||||
|
||||
- id: prusa_mini_notify
|
||||
alias: '[Prusa Mini] Notify finished'
|
||||
mode: single
|
||||
|
@ -181,3 +181,5 @@ devices:
|
||||
id: '2963910c6c3798aab228abe14ed46ba8'
|
||||
- name: 'Bathroom music button'
|
||||
id: 'ea9059ad2df037a012ab01a575108dc5'
|
||||
- name: 'Prusa MINI'
|
||||
id: '1a9044fa5e6d0ed3870b8b99c5ee9bd1'
|
||||
|
Loading…
Reference in New Issue
Block a user