Explicitly opt-in to device name in the uptime integration (#94846)
This commit is contained in:
@@ -26,6 +26,7 @@ class UptimeSensor(SensorEntity):
|
||||
|
||||
_attr_device_class = SensorDeviceClass.TIMESTAMP
|
||||
_attr_has_entity_name = True
|
||||
_attr_name = None
|
||||
_attr_should_poll = False
|
||||
|
||||
def __init__(self, entry: ConfigEntry) -> None:
|
||||
|
||||
Reference in New Issue
Block a user