home-assistant-configuration/binary_sensors/motion.yaml

8 lines
205 B
YAML
Executable File

- platform: mqtt
name: "Garage Dome Sensor" # Dome Motion Sensor
state_topic: "smartthings/Garage Motion/contact"
payload_on: "active"
payload_off: "inactive"
retain: true
device_class: motion