From d38e8e213a0434f53dd043ac2c9976c761dd9476 Mon Sep 17 00:00:00 2001 From: Jeef Date: Thu, 30 Jun 2022 09:35:06 -0600 Subject: [PATCH] Fix intellifire climate control not needing a default fireplace (#74253) --- homeassistant/components/intellifire/climate.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/homeassistant/components/intellifire/climate.py b/homeassistant/components/intellifire/climate.py index 37a126bf3d6..a00a20f64f1 100644 --- a/homeassistant/components/intellifire/climate.py +++ b/homeassistant/components/intellifire/climate.py @@ -80,7 +80,6 @@ class IntellifireClimate(IntellifireEntity, ClimateEntity): (raw_target_temp * 9 / 5) + 32, ) await self.coordinator.control_api.set_thermostat_c( - fireplace=self.coordinator.control_api.default_fireplace, temp_c=self.last_temp, ) @@ -101,20 +100,15 @@ class IntellifireClimate(IntellifireEntity, ClimateEntity): ) if hvac_mode == HVACMode.OFF: - await self.coordinator.control_api.turn_off_thermostat( - fireplace=self.coordinator.control_api.default_fireplace - ) + await self.coordinator.control_api.turn_off_thermostat() return # hvac_mode == HVACMode.HEAT # 1) Set the desired target temp await self.coordinator.control_api.set_thermostat_c( - fireplace=self.coordinator.control_api.default_fireplace, temp_c=self.last_temp, ) # 2) Make sure the fireplace is on! if not self.coordinator.read_api.data.is_on: - await self.coordinator.control_api.flame_on( - fireplace=self.coordinator.control_api.default_fireplace, - ) + await self.coordinator.control_api.flame_on()