LIVISI climate device improvement (#88844)

Code review follow-up
This commit is contained in:
StefanIacobLivisi
2023-02-27 18:20:10 +02:00
committed by GitHub
parent 00954dfc1f
commit fd87748b99

View File

@@ -139,9 +139,6 @@ class LivisiClimate(CoordinatorEntity[LivisiDataUpdateCoordinator], ClimateEntit
def set_hvac_mode(self, hvac_mode: HVACMode) -> None: def set_hvac_mode(self, hvac_mode: HVACMode) -> None:
"""Do nothing as LIVISI devices do not support changing the hvac mode.""" """Do nothing as LIVISI devices do not support changing the hvac mode."""
raise HomeAssistantError(
"This feature is not supported with the LIVISI climate devices"
)
async def async_added_to_hass(self) -> None: async def async_added_to_hass(self) -> None:
"""Register callbacks.""" """Register callbacks."""