Skip to content

Commit

Permalink
Fix set temperature for Bloom
Browse files Browse the repository at this point in the history
  • Loading branch information
cyr-ius committed Nov 23, 2023
1 parent 29df1e7 commit d9e56c1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
9 changes: 5 additions & 4 deletions custom_components/heatzy/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
import logging
from typing import Any

from heatzypy.exception import HeatzyException
import voluptuous as vol

from heatzypy.exception import HeatzyException
from homeassistant.components.climate import (
ATTR_TARGET_TEMP_HIGH,
ATTR_TARGET_TEMP_LOW,
Expand All @@ -23,7 +22,8 @@
from homeassistant.config_entries import ConfigEntry
from homeassistant.const import CONF_DELAY, UnitOfTemperature
from homeassistant.core import HomeAssistant, callback
from homeassistant.helpers import config_validation as cv, entity_platform
from homeassistant.helpers import config_validation as cv
from homeassistant.helpers import entity_platform
from homeassistant.helpers.device_registry import DeviceInfo
from homeassistant.helpers.entity_platform import AddEntitiesCallback
from homeassistant.helpers.update_coordinator import CoordinatorEntity
Expand All @@ -36,6 +36,7 @@
CONF_ALIAS,
CONF_ATTR,
CONF_ATTRS,
CONF_CFT_TEMP,
CONF_COM_TEMP,
CONF_CUR_MODE,
CONF_CUR_TEMP,
Expand Down Expand Up @@ -588,7 +589,7 @@ async def async_set_temperature(self, **kwargs: Any) -> None:
self.unique_id,
{
CONF_ATTRS: {
CONF_COM_TEMP: self._attr[CONF_COM_TEMP],
CONF_CFT_TEMP: self._attr[CONF_COM_TEMP],
CONF_ECO_TEMP: self._attr[CONF_ECO_TEMP],
}
},
Expand Down
1 change: 1 addition & 0 deletions custom_components/heatzy/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
CONF_ATTR = "attr"
CONF_ATTRS = "attrs"
CONF_COM_TEMP = "com_temp"
CONF_CFT_TEMP = "cft_temp"
CONF_CUR_MODE = "cur_mode"
CONF_CUR_TEMP = "cur_temp"
CONF_DEROG_MODE = "derog_mode"
Expand Down
2 changes: 1 addition & 1 deletion custom_components/heatzy/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
"issue_tracker": "https://github.com/cyr-ius/hass-heatzy/issues",
"loggers": ["heatzypy"],
"requirements": ["heatzypy==2.1.5"],
"version": "5.9.7-beta2"
"version": "5.9.7-beta3"
}

0 comments on commit d9e56c1

Please sign in to comment.