Currently using UK light switches H2 , aqara bulbs 1x fp2 and 1x fp300.
My fave automation is for my work from home area in the room where I have govee light strip. This comes on when I enter that zone and turns off when I leave. Along with other bits.
alias: PcWall_BRMATCH
description: PC wall is zone-driven; main light is occupancy/daylight-driven
triggers:
- id: PC_ZONE_ON
entity_id: binary_sensor.presence_sensor_fp2_a224_presence_sensor_8
to: βonβ
trigger: state - id: PC_ZONE_OFF
entity_id:- binary_sensor.presence_sensor_fp2_a224_presence_sensor_8
to: - βoffβ
trigger: state
for:
hours: 0
minutes: 0
seconds: 0
- binary_sensor.presence_sensor_fp2_a224_presence_sensor_8
- id: OCCUPIED
entity_id: binary_sensor.bedroom_occupancy_status
to: βonβ
trigger: state - id: UNOCCUPIED
entity_id: binary_sensor.bedroom_occupancy_status
to: βoffβ
for:
minutes: 1
trigger: state - id: BLINDS_OPEN
entity_id:- cover.bedroom_br_allblinds
to: - β100β
trigger: state
- cover.bedroom_br_allblinds
- id: BRIGHTNESS_CHANGE
entity_id: light.led_bulb_t2_e27_rgb_cct
attribute: brightness
trigger: state - id: MAIN_ON
device_id: 2f12ebd9fc5c1990731d7302b2112978
entity_id: 3c300c585d5b26c9898e21426b47f820
domain: light
type: turned_on
trigger: device
actions: - choose:
- conditions:
- condition: trigger
id: PC_ZONE_ON - condition: state
entity_id: select.eufyhb_guard_mode
state:- Home
sequence:
- Home
- action: light.turn_on
target:
entity_id: light.pc_wall
data: {}
- condition: trigger
- conditions:
- condition: trigger
id: PC_ZONE_OFF - condition: state
entity_id: binary_sensor.presence_sensor_fp2_a224_presence_sensor_8
state: βoffβ
sequence: - action: light.turn_off
target:
entity_id: light.pc_wall
- condition: trigger
- conditions:
- condition: trigger
id: OCCUPIED - condition: cover.shutter_is_closed
target:
entity_id: cover.bedroom_br_allblinds
options:
behavior: any
for: β00:00:00β
sequence: - action: light.turn_on
data: {}
target:
entity_id: light.led_bulb_t2_e27_rgb_cct
- condition: trigger
- conditions: