Fix typo in Switchbot cloud (#116388)
This commit is contained in:
parent
f5b4637da8
commit
eec1dafe11
1 changed files with 3 additions and 3 deletions
|
@ -47,13 +47,13 @@ async def async_setup_entry(
|
|||
"""Set up SwitchBot Cloud entry."""
|
||||
data: SwitchbotCloudData = hass.data[DOMAIN][config.entry_id]
|
||||
async_add_entities(
|
||||
SwitchBotCloudAirConditionner(data.api, device, coordinator)
|
||||
SwitchBotCloudAirConditioner(data.api, device, coordinator)
|
||||
for device, coordinator in data.devices.climates
|
||||
)
|
||||
|
||||
|
||||
class SwitchBotCloudAirConditionner(SwitchBotCloudEntity, ClimateEntity):
|
||||
"""Representation of a SwitchBot air conditionner.
|
||||
class SwitchBotCloudAirConditioner(SwitchBotCloudEntity, ClimateEntity):
|
||||
"""Representation of a SwitchBot air conditioner.
|
||||
|
||||
As it is an IR device, we don't know the actual state.
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue