Use explicit device name for Stookalert (#96755)

This commit is contained in:
Joost Lekkerkerker 2023-07-17 12:58:51 +02:00 committed by Franck Nijhof
parent fff04a5e9b
commit 38d58b4d91
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3

View File

@ -36,6 +36,7 @@ class StookalertBinarySensor(BinarySensorEntity):
_attr_attribution = "Data provided by rivm.nl"
_attr_device_class = BinarySensorDeviceClass.SAFETY
_attr_has_entity_name = True
_attr_name = None
def __init__(self, client: stookalert.stookalert, entry: ConfigEntry) -> None:
"""Initialize a Stookalert device."""