mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Use explicit device name for Stookalert (#96755)
This commit is contained in:
parent
dc8267b05a
commit
57361a738e
@ -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."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user