mirror of
https://github.com/home-assistant/core.git
synced 2025-08-17 11:31:39 +02:00
insert small comment
This commit is contained in:
@@ -54,6 +54,7 @@ class ServerStatusBinarySensor(LMSStatusEntity, BinarySensorEntity):
|
|||||||
) -> None:
|
) -> None:
|
||||||
"""Initialize the sensor."""
|
"""Initialize the sensor."""
|
||||||
super().__init__(coordinator, description)
|
super().__init__(coordinator, description)
|
||||||
|
# needs to be set as auto update is off
|
||||||
self._attr_is_on = coordinator.data[description.key]
|
self._attr_is_on = coordinator.data[description.key]
|
||||||
|
|
||||||
@callback
|
@callback
|
||||||
|
Reference in New Issue
Block a user