insert small comment

This commit is contained in:
pssc
2024-07-24 22:50:35 +01:00
parent a93d5d8771
commit 586d6478c2

View File

@@ -54,6 +54,7 @@ class ServerStatusBinarySensor(LMSStatusEntity, BinarySensorEntity):
) -> None:
"""Initialize the sensor."""
super().__init__(coordinator, description)
# needs to be set as auto update is off
self._attr_is_on = coordinator.data[description.key]
@callback