diff --git a/source/_cookbook/track_battery_level.markdown b/source/_cookbook/track_battery_level.markdown index 905ae5f30fa..3c995af7d7c 100644 --- a/source/_cookbook/track_battery_level.markdown +++ b/source/_cookbook/track_battery_level.markdown @@ -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. ```yaml +sensor: - platform: mqtt state_topic: "owntracks/tablet/tablet" name: "Battery Tablet"