added room presence yaml to docs (#869)
* added room presence yaml to docs Found how to set this up in the issues, so I figured I'd add it to the docs because it works great for me
This commit is contained in:
1 parent
590fc6e342
commit
2693f291a8
1 file changed
+13
-1
@@ -21,7 +21,7 @@ The gateway device will be available into Configuration->Devices section of Home
|
||||

|
||||
|
||||
## Manual integration examples
|
||||
From @123, @finity, @denniz03, @jrockstad
|
||||
From @123, @finity, @denniz03, @jrockstad, @anarchking
|
||||
|
||||
### Door sensor
|
||||
```yaml
|
||||
@@ -163,3 +163,15 @@ sensor:
|
||||
icon_template: >
|
||||
{{ 'mdi:human' }}
|
||||
```
|
||||
|
||||
### MQTT Room Presence
|
||||
|
||||
```yaml
|
||||
sensor:
|
||||
- platform: mqtt_room
|
||||
device_id: XX:XX:XX:XX:XX:XX #Mac Address of device wanting to track
|
||||
name: you_are_in # home assistant will show a sensor named (you are in) with its value being the name you gave the gateway
|
||||
state_topic: "home/home_presence"
|
||||
#timeout:
|
||||
#away_timeout:
|
||||
```
|
||||
Reference in new issue
Block a user