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

@ -92,6 +92,7 @@ class DemoClimate(ClimateEntity):
"""Representation of a demo climate device."""
_attr_has_entity_name = True
_attr_name = None
_attr_should_poll = False
_attr_translation_key = "ubercool"