Explicitly opt-in to device name in the demo integration (#94647)
This commit is contained in:
parent
3ee63ba2c2
commit
43c4dec3ed
14 changed files with 14 additions and 2 deletions
|
@ -142,6 +142,7 @@ class DemoSensor(SensorEntity):
|
|||
"""Representation of a Demo sensor."""
|
||||
|
||||
_attr_has_entity_name = True
|
||||
_attr_name = None
|
||||
_attr_should_poll = False
|
||||
|
||||
def __init__(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue