mirror of
https://github.com/home-assistant/core.git
synced 2025-08-25 15:31:36 +02:00
Use explicit device name for Stookalert (#96755)
This commit is contained in:
committed by
Franck Nijhof
parent
fff04a5e9b
commit
38d58b4d91
@@ -36,6 +36,7 @@ class StookalertBinarySensor(BinarySensorEntity):
|
|||||||
_attr_attribution = "Data provided by rivm.nl"
|
_attr_attribution = "Data provided by rivm.nl"
|
||||||
_attr_device_class = BinarySensorDeviceClass.SAFETY
|
_attr_device_class = BinarySensorDeviceClass.SAFETY
|
||||||
_attr_has_entity_name = True
|
_attr_has_entity_name = True
|
||||||
|
_attr_name = None
|
||||||
|
|
||||||
def __init__(self, client: stookalert.stookalert, entry: ConfigEntry) -> None:
|
def __init__(self, client: stookalert.stookalert, entry: ConfigEntry) -> None:
|
||||||
"""Initialize a Stookalert device."""
|
"""Initialize a Stookalert device."""
|
||||||
|
Reference in New Issue
Block a user