mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 12:47:08 +00:00
Fix vicare binary sensor (#56912)
This commit is contained in:
parent
8d06527cb1
commit
316070f1e9
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user