mirror of
https://github.com/USA-RedDragon/badnest.git
synced 2025-02-07 12:50:27 +00:00
change from deprecated device to entity
This commit is contained in:
parent
b5e545a959
commit
4160f9c894
@ -96,7 +96,7 @@ async def async_setup_platform(hass,
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
class NestWaterHeater(WaterHeaterDevice):
|
class NestWaterHeater(WaterHeaterEntity):
|
||||||
"""Representation of a Nest water heater device."""
|
"""Representation of a Nest water heater device."""
|
||||||
|
|
||||||
def __init__(self, device_id, api):
|
def __init__(self, device_id, api):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user