Files
hassio-configuration/configuration/automation/occupancy_bedroom_maxim.yaml
2025-02-07 12:46:24 -05:00

22 lines
548 B
YAML

---
- alias: "[Bedroom Maxim] Occupancy to True"
trigger:
platform: state
entity_id:
- binary_sensor.presence_bedroom_maxim_sensor_1
from: "off"
to: "on"
action:
service: input_boolean.turn_on
entity_id: input_boolean.occupancy_bedroom_max
- alias: "[Bedroom Maxim] Occupancy to False"
trigger:
platform: state
entity_id:
- binary_sensor.presence_bedroom_maxim_sensor_1
from: "on"
to: "off"
action:
service: input_boolean.turn_off
entity_id: input_boolean.occupancy_bedroom_max