From a66665eb212f7b4731719ba305f2e48fe0354e49 Mon Sep 17 00:00:00 2001 From: Andrew Jackson Date: Sun, 28 Apr 2024 10:52:25 +0100 Subject: [PATCH] Fix bad indent --- custom_components/battery_notes/binary_sensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/battery_notes/binary_sensor.py b/custom_components/battery_notes/binary_sensor.py index fbf0a2b94..375ef080c 100644 --- a/custom_components/battery_notes/binary_sensor.py +++ b/custom_components/battery_notes/binary_sensor.py @@ -511,7 +511,7 @@ def __init__( identifiers=device_entry.identifiers, ) - self.entity_id = f"binary_sensor.{coordinator.device_name.lower()}_{description.key}" + self.entity_id = f"binary_sensor.{coordinator.device_name.lower()}_{description.key}" async def async_added_to_hass(self) -> None: """Handle added to Hass."""