1
0
Fork 0
ha-config/config/automations.yaml

112 lines
3.0 KiB
YAML
Raw Normal View History

2022-05-18 09:26:41 +10:00
- id: '1644482494645'
2022-05-11 16:41:13 +10:00
alias: Disable vacuum camera update when docked
2022-05-18 09:26:41 +10:00
description: ''
2022-05-11 16:41:13 +10:00
use_blueprint:
path: PiotrMachowski/disable_vacuum_camera_update_when_docked.yaml
input:
vacuum: vacuum.robot_vacuum
camera: camera.vacuum_map
2022-05-18 09:26:41 +10:00
- id: '1644482497979'
2022-05-11 16:41:13 +10:00
alias: Disable vacuum camera update when docked
2022-05-18 09:26:41 +10:00
description: ''
2022-05-11 16:41:13 +10:00
use_blueprint:
path: PiotrMachowski/disable_vacuum_camera_update_when_docked.yaml
input:
vacuum: vacuum.robot_vacuum
camera: camera.vacuum_map
mode: single
2022-05-18 09:26:41 +10:00
- id: '1650353887007'
2022-05-11 16:41:13 +10:00
alias: Ri's Office Lights
2022-05-18 09:26:41 +10:00
description: ''
2022-05-11 16:41:13 +10:00
use_blueprint:
path: EPMatt/ikea_e1524_e1810.yaml
input:
integration: Zigbee2MQTT
controller_entity: sensor.ikea_remote_action
helper_last_controller_event: input_text.ris_office_ikea_remote_last_action
action_button_center_short:
2022-05-18 09:26:41 +10:00
- service: light.toggle
data: {}
target:
area_id: ri_s_office
2022-05-11 16:41:13 +10:00
action_button_up_short:
2022-05-18 09:26:41 +10:00
- device_id: 27cd6e935587684f83d903e5608ea35c
domain: light
entity_id: light.ris_office
type: brightness_increase
2022-05-11 16:41:13 +10:00
button_up_long_loop: true
button_down_long_loop: true
action_button_up_long: []
action_button_down_short:
2022-05-18 09:26:41 +10:00
- device_id: 27cd6e935587684f83d903e5608ea35c
domain: light
entity_id: light.ris_office
type: brightness_decrease
2022-05-11 16:41:13 +10:00
action_button_down_long: []
2022-05-18 09:26:41 +10:00
action_button_left_short:
- service: switch.turn_off
data: {}
target:
area_id: ri_s_office
action_button_right_short:
- service: switch.turn_on
data: {}
target:
area_id: ri_s_office
2022-07-19 18:53:10 +10:00
controller_device: a68268df00fb475e9dbffc45c6de8a6f
2022-05-18 09:26:41 +10:00
- id: '1650766227595'
2022-05-11 16:41:13 +10:00
alias: Update OpenUV every 30 minutes during the daytime
trigger:
platform: time_pattern
minutes: /30
condition:
condition: and
conditions:
2022-05-18 09:26:41 +10:00
- condition: sun
after: sunrise
- condition: sun
before: sunset
2022-05-11 16:41:13 +10:00
action:
service: openuv.update_data
2023-04-25 07:36:58 +10:00
- id: '1661989262917'
alias: Control Living Room Lights
description: ''
trigger:
- id: brightness
platform: state
entity_id:
- sensor.living_room_light_dimmer_action
to:
- brightness_move_down
- brightness_move_up
- brightness_stop
- id: toggle
platform: state
to: toggle
entity_id:
- sensor.living_room_light_dimmer_action
condition: []
action:
- choose:
- conditions:
- condition: template
value_template: '{{ trigger.id == ''toggle'' }}'
sequence:
- service: light.toggle
target:
area_id: living_room
data:
transition: 1
- conditions:
- condition: template
value_template: '{{ trigger.id == ''brightness'' }}'
sequence:
- service: light.turn_on
data:
transition: 0.1
brightness: '{{ state_attr(''sensor.living_room_light_dimmer_action'', ''brightness'')
| int }}'
target:
area_id: living_room
mode: queued