Change function name in tfiac (#110466)
This commit is contained in:
parent
09f1ec78a5
commit
103aab2218
1 changed files with 2 additions and 2 deletions
|
@ -63,7 +63,7 @@ ON_MODE = "is_on"
|
|||
async def async_setup_platform(
|
||||
hass: HomeAssistant,
|
||||
config: ConfigType,
|
||||
async_add_devices: AddEntitiesCallback,
|
||||
async_add_entities: AddEntitiesCallback,
|
||||
discovery_info: DiscoveryInfoType | None = None,
|
||||
) -> None:
|
||||
"""Set up the TFIAC climate device."""
|
||||
|
@ -73,7 +73,7 @@ async def async_setup_platform(
|
|||
except futures.TimeoutError:
|
||||
_LOGGER.error("Unable to connect to %s", config[CONF_HOST])
|
||||
return
|
||||
async_add_devices([TfiacClimate(hass, tfiac_client)])
|
||||
async_add_entities([TfiacClimate(hass, tfiac_client)])
|
||||
|
||||
|
||||
class TfiacClimate(ClimateEntity):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue