From 81ac2b9705fcdb8d00f68f20c5803a01259379ef Mon Sep 17 00:00:00 2001 From: Joseph Abbey Date: Fri, 12 Jan 2024 17:51:03 +0000 Subject: [PATCH] Add battery level migration docs --- BatteryReporting.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/BatteryReporting.md b/BatteryReporting.md index 41fc4ba..774016a 100644 --- a/BatteryReporting.md +++ b/BatteryReporting.md @@ -28,10 +28,8 @@ Select the device called `Garmin Watch` and then click on the edit icon in the t ![Rename device](images/rename_device.png) - ![Rename entity ids](images/rename_device_2.png) - ## Fixing the icon In configuration.yaml: @@ -115,3 +113,9 @@ cards: ``` N.B. `sensor._battery_level` will likely need to be changed to `sensor._battery_level_2` if you have fixed the icon as above. + +## Migrating + +You should remove your old template sensors before migrating to the new integration. You can do this by removing the `sensor._battery_level` and `binary_sensor._battery_is_charging` entities from `configuration.yaml` and then restarting Home Assistant or reloading the yaml. + +[Here is the old configuration method for reference.](https://github.com/house-of-abbey/GarminHomeAssistant/blob/b51e2aa2a4afbc58ad466f3b81667d1cd252d091/BatteryReporting.md)