mirror of
https://github.com/home-assistant/core.git
synced 2025-08-16 19:11:42 +02:00
insert small comment
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user