From 1acb9a981a5c7b9a012d6b18bad581fb84ac54c7 Mon Sep 17 00:00:00 2001 From: Avi Miller Date: Fri, 2 Sep 2022 22:13:03 +1000 Subject: [PATCH] Rename the binary sensor to better reflect its purpose (#77711) --- homeassistant/components/lifx/binary_sensor.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/lifx/binary_sensor.py b/homeassistant/components/lifx/binary_sensor.py index 4a368a2f97f..273ef035757 100644 --- a/homeassistant/components/lifx/binary_sensor.py +++ b/homeassistant/components/lifx/binary_sensor.py @@ -33,15 +33,15 @@ async def async_setup_entry( if lifx_features(coordinator.device)["hev"]: async_add_entities( [ - LIFXBinarySensorEntity( + LIFXHevCycleBinarySensorEntity( coordinator=coordinator, description=HEV_CYCLE_STATE_SENSOR ) ] ) -class LIFXBinarySensorEntity(LIFXEntity, BinarySensorEntity): - """LIFX sensor entity base class.""" +class LIFXHevCycleBinarySensorEntity(LIFXEntity, BinarySensorEntity): + """LIFX HEV cycle state binary sensor.""" _attr_has_entity_name = True