[Breaking Change] Change HCSR501 MQTT key to 'presence' (#710)

* Change HCSR501 MQTT key to 'presence'
This commit is contained in:
Jon authored and GitHub committed 2020-07-26 08:14:06 -05:00
1 parent f9787312a3
commit 61f7843e40
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -71,7 +71,7 @@ binary_sensor:
name: "Bewegung_Schlafzimmer"
#device_class: motion
state_topic: "home/OpenMQTTGateway1/HCSR501toMQTT"
value_template: '{{ value_json["hcsr501"] }}'
value_template: '{{ value_json["presence"] }}'
payload_on: "true"
payload_off: "false"
```