Explicitly opt-in to device name in the demo integration (#94647)

This commit is contained in:
Erik Montnemery 2023-06-19 15:56:48 +02:00 committed by GitHub
parent 3ee63ba2c2
commit 43c4dec3ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 14 additions and 2 deletions

View file

@ -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__(