Use explicit device name for Stookalert (#96755)

This commit is contained in:
Joost Lekkerkerker 2023-07-17 12:58:51 +02:00 committed by GitHub
parent dc8267b05a
commit 57361a738e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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."""