mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 19:27:45 +00:00
Use explicit naming in Nest (#95532)
This commit is contained in:
parent
a3ffa0aed7
commit
9d7007df63
@ -61,6 +61,7 @@ class NestCamera(Camera):
|
||||
"""Devices that support cameras."""
|
||||
|
||||
_attr_has_entity_name = True
|
||||
_attr_name = None
|
||||
|
||||
def __init__(self, device: Device) -> None:
|
||||
"""Initialize the camera."""
|
||||
|
@ -99,6 +99,7 @@ class ThermostatEntity(ClimateEntity):
|
||||
_attr_max_temp = MAX_TEMP
|
||||
_attr_has_entity_name = True
|
||||
_attr_should_poll = False
|
||||
_attr_name = None
|
||||
|
||||
def __init__(self, device: Device) -> None:
|
||||
"""Initialize ThermostatEntity."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user