| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239 |
- - id: '1705510128965'
- alias: Activate coffee brewer timer
- description: Turns on the coffee brewer electrical switch and starts the timer.
- trigger:
- - platform: state
- entity_id:
- - input_boolean.activate_coffee_brewer_timer
- to: 'on'
- condition: []
- action:
- - service: switch.turn_on
- target:
- entity_id:
- - switch.kaffetimer
- device_id: []
- area_id: []
- data: {}
- - service: timer.start
- target:
- entity_id: timer.coffee_brewer_timer
- data: {}
- - service: counter.increment
- target:
- entity_id: counter.coffee_counter
- data: {}
- mode: restart
- - id: '1706284268833'
- alias: Deactivate coffee brewer timer
- description: Turns off stuff when manually switching off the timer
- trigger:
- - platform: state
- entity_id:
- - input_boolean.activate_coffee_brewer_timer
- from: 'on'
- to: 'off'
- - platform: state
- entity_id:
- - timer.coffee_brewer_timer
- from: active
- to: idle
- condition: []
- action:
- - service: input_boolean.turn_off
- target:
- entity_id:
- - input_boolean.activate_coffee_brewer_timer
- data: {}
- - service: timer.cancel
- target:
- entity_id: timer.coffee_brewer_timer
- data: {}
- - service: switch.turn_off
- target:
- entity_id: switch.kaffetimer
- data: {}
- mode: single
- - id: '1706284484894'
- alias: Activate Coffee Brewer at scheduled time
- description: Starts the coffee brewer timer at the setup time
- trigger:
- - platform: time
- at: input_datetime.coffee_brewer_scheduled_start_time
- condition:
- - condition: state
- entity_id: input_boolean.enable_scheduled_start_of_coffee_brewer
- state: 'on'
- action:
- - service: input_boolean.turn_on
- target:
- entity_id:
- - input_boolean.activate_coffee_brewer_timer
- device_id: []
- area_id: []
- data: {}
- - service: input_boolean.turn_off
- target:
- entity_id: input_boolean.enable_scheduled_start_of_coffee_brewer
- data: {}
- mode: single
- - id: '1736266866394'
- alias: Set Has been Night Flag
- description: Set that it has been midnight, and that its ok to turn the light on
- trigger:
- - platform: time
- at: 00:30:00
- action:
- - service: input_boolean.turn_on
- target:
- entity_id:
- - input_boolean.ext_light_has_been_night
- - input_boolean.home_auto_lights_off_has_been_night
- data: {}
- - id: '1736266934946'
- alias: Set Has Been Day Flag
- description: ''
- trigger:
- - platform: time
- at: '12:30:00'
- action:
- - service: input_boolean.turn_on
- target:
- entity_id: input_boolean.ext_light_has_been_day
- - id: '1736268207142'
- alias: Turn on Exterial Lights In The Evening
- description: ''
- triggers:
- - entity_id:
- - sensor.outside_lux
- below: 500
- for:
- seconds: 0
- trigger: numeric_state
- conditions:
- - condition: state
- entity_id: input_boolean.ext_light_has_been_day
- state: 'on'
- actions:
- - target:
- entity_id: input_boolean.ext_light_has_been_day
- data: {}
- action: input_boolean.turn_off
- - target:
- entity_id: input_boolean.exterior_lights_wanted_state
- data: {}
- action: input_boolean.turn_on
- - id: '1736268250686'
- alias: Turn Off Exterior Lights In The Morning
- description: ''
- triggers:
- - entity_id:
- - sensor.outside_lux
- above: 710
- for:
- seconds: 0
- trigger: numeric_state
- conditions:
- - condition: state
- entity_id: input_boolean.ext_light_has_been_night
- state: 'on'
- actions:
- - target:
- entity_id: input_boolean.ext_light_has_been_night
- data: {}
- action: input_boolean.turn_off
- - target:
- entity_id: input_boolean.exterior_lights_wanted_state
- data: {}
- action: input_boolean.turn_off
- - id: '1746203002786'
- alias: Mouse Counter Incrementer
- description: Increments the Mouse detection Counter when an event has happened
- trigger:
- - platform: state
- entity_id:
- - binary_sensor.mouse_detector
- from: 'off'
- to: 'on'
- condition: []
- action:
- - service: counter.increment
- target:
- entity_id: counter.kitchen_mouse_detection_counter
- data: {}
- mode: single
- - id: '1758118011846'
- alias: Sync Exterior Lights With Wanted State
- description: ''
- triggers:
- - entity_id: input_boolean.exterior_lights_wanted_state
- trigger: state
- actions:
- - choose:
- - conditions:
- - condition: state
- entity_id: input_boolean.exterior_lights_wanted_state
- state: 'on'
- sequence:
- - target:
- entity_id:
- - switch.1_mini_gen3_wood_shed
- - switch.1_mini_gen3_front_door
- action: switch.turn_on
- - conditions:
- - condition: state
- entity_id: input_boolean.exterior_lights_wanted_state
- state: 'off'
- sequence:
- - target:
- entity_id:
- - switch.1_mini_gen3_wood_shed
- - switch.1_mini_gen3_front_door
- action: switch.turn_off
- mode: single
- - id: '1759053358355'
- alias: Turn lights ON when on vacation
- description: ''
- triggers:
- - trigger: time
- at: '18:36:00'
- weekday:
- - mon
- - tue
- - wed
- - thu
- - fri
- - sat
- - sun
- conditions: []
- actions:
- - action: input_select.select_option
- metadata: {}
- data:
- option: All on
- target:
- entity_id: input_select.light_mode
- mode: single
- - id: '1759053894661'
- alias: Turn lights OFF when on vacation
- description: ''
- triggers:
- - trigger: time
- at: '23:20:00'
- weekday:
- - mon
- - tue
- - wed
- - thu
- - fri
- - sat
- - sun
- conditions: []
- actions:
- - action: input_select.select_option
- metadata: {}
- data:
- option: All off
- target:
- entity_id: input_select.light_mode
- mode: single
|