Add sensor:

This commit is contained in:
Fabian Affolter 2016-07-17 13:09:28 +02:00
parent 3a08243a5f
commit 8c1ae6d000
No known key found for this signature in database
GPG Key ID: DDF3D6F44AAB1336

View File

@ -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"