mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 17:27:52 +00:00
Explicitly opt-in to device name in the uptime integration (#94846)
This commit is contained in:
parent
c7d636a371
commit
17797c04c3
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user