2 weeks ago
Following the Google "Flash lights when smoke alarm is active" example at
2 weeks ago
Here is the automation YAML:
metadata:
name: Apt Living Rm nr Bathroom Smoke or CO Sensor Activates
description: Turn on Hubitat virtual switch if the smoke or CO sensor activates.
automations:
# Smoke or CO Sensor activates.
- starters:
- type: device.state.SensorState
device: Guest House(Living Rm nr Bathrm) - Guest House
state: currentSensorStateData.SmokeLevel.currentSensorState
is: high
- type: device.state.SensorState
device: Guest House(Living Rm nr Bathrm) - Guest House
state: currentSensorStateData.CarbonMonoxideLevel.currentSensorState
is: high
actions:
- type: device.command.OnOff
devices:
- Nest Smoke/CO Sensor - Apt Living Rm nr Bathroom - Guest House
on: true
2 weeks ago
Was being blocked from posting execution logs. Taking a screen shot seemed to work. There is nothing in the logs for a day or two prior to the smoke detector going off.