Added contact sensor that can act as a presence device with timeout
This commit is contained in:
@@ -44,3 +44,9 @@ type = "AudioSetup"
|
||||
topic = "zigbee2mqtt/living/remote"
|
||||
mixer = "10.0.0.49"
|
||||
speakers = "10.0.0.182"
|
||||
|
||||
[devices.hallway_frontdoor]
|
||||
type = "ContactSensor"
|
||||
topic = "zigbee2mqtt/hallway/frontdoor"
|
||||
# @TODO This should be automatically constructed from the identifier and presence topic
|
||||
presence = { topic = "automation_dev/presence/frontdoor", timeout = 10 }
|
||||
|
||||
Reference in New Issue
Block a user