Skip to content

Commit 172a572

Browse files
authored
added room presence yaml to docs (1technophile#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
1 parent c0c2a80 commit 172a572

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

docs/integrate/home_assistant.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The gateway device will be available into Configuration->Devices section of Home
2121
![](../img/OpenMQTTGateway_Home_Assistant_MQTT_discovery.png)
2222

2323
## Manual integration examples
24-
From @123, @finity, @denniz03, @jrockstad
24+
From @123, @finity, @denniz03, @jrockstad, @anarchking
2525

2626
### Door sensor
2727
```yaml
@@ -163,3 +163,15 @@ sensor:
163163
icon_template: >
164164
{{ 'mdi:human' }}
165165
```
166+
167+
### MQTT Room Presence
168+
169+
```yaml
170+
sensor:
171+
- platform: mqtt_room
172+
device_id: XX:XX:XX:XX:XX:XX #Mac Address of device wanting to track
173+
name: you_are_in # home assistant will show a sensor named (you are in) with its value being the name you gave the gateway
174+
state_topic: "home/home_presence"
175+
#timeout:
176+
#away_timeout:
177+
```

0 commit comments

Comments
 (0)