Add sensor:
This commit is contained in:
parent
3a08243a5f
commit
8c1ae6d000
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@ The `else` part is used to have the sensor keep it's last state if the newest [i
|
||||||
While running the [Owntracks](/components/device_tracker.owntracks/) device tracker you can retrieve the battery level with a MQTT sensor.
|
While running the [Owntracks](/components/device_tracker.owntracks/) device tracker you can retrieve the battery level with a MQTT sensor.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
sensor:
|
||||||
- platform: mqtt
|
- platform: mqtt
|
||||||
state_topic: "owntracks/tablet/tablet"
|
state_topic: "owntracks/tablet/tablet"
|
||||||
name: "Battery Tablet"
|
name: "Battery Tablet"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue