mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 20:55:10 +02:00
Fix vicare binary sensor (#56912)
This commit is contained in:
@@ -124,6 +124,7 @@ class ViCareBinarySensor(BinarySensorEntity):
|
||||
|
||||
def __init__(self, name, api, description: DescriptionT):
|
||||
"""Initialize the sensor."""
|
||||
self.entity_description = description
|
||||
self._attr_name = f"{name} {description.name}"
|
||||
self._api = api
|
||||
self._state = None
|
||||
|
Reference in New Issue
Block a user