mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Fix fan rates for Daikin (#23860)
This commit is contained in:
parent
1b4fc2ae8d
commit
727f667cbc
@ -81,7 +81,7 @@ class DaikinClimate(ClimateDevice):
|
|||||||
self._api = api
|
self._api = api
|
||||||
self._list = {
|
self._list = {
|
||||||
ATTR_OPERATION_MODE: list(HA_STATE_TO_DAIKIN),
|
ATTR_OPERATION_MODE: list(HA_STATE_TO_DAIKIN),
|
||||||
ATTR_FAN_MODE: self._api.device.fan_modes,
|
ATTR_FAN_MODE: self._api.device.fan_rate,
|
||||||
ATTR_SWING_MODE: list(
|
ATTR_SWING_MODE: list(
|
||||||
map(
|
map(
|
||||||
str.title,
|
str.title,
|
||||||
@ -97,7 +97,7 @@ class DaikinClimate(ClimateDevice):
|
|||||||
if self._api.device.support_away_mode:
|
if self._api.device.support_away_mode:
|
||||||
self._supported_features |= SUPPORT_AWAY_MODE
|
self._supported_features |= SUPPORT_AWAY_MODE
|
||||||
|
|
||||||
if self._api.device.support_fan_mode:
|
if self._api.device.support_fan_rate:
|
||||||
self._supported_features |= SUPPORT_FAN_MODE
|
self._supported_features |= SUPPORT_FAN_MODE
|
||||||
|
|
||||||
if self._api.device.support_swing_mode:
|
if self._api.device.support_swing_mode:
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"documentation": "https://www.home-assistant.io/components/daikin",
|
"documentation": "https://www.home-assistant.io/components/daikin",
|
||||||
"requirements": [
|
"requirements": [
|
||||||
"pydaikin==1.4.3"
|
"pydaikin==1.4.4"
|
||||||
],
|
],
|
||||||
"dependencies": [],
|
"dependencies": [],
|
||||||
"codeowners": [
|
"codeowners": [
|
||||||
|
@ -1024,7 +1024,7 @@ pycsspeechtts==1.0.2
|
|||||||
# pycups==1.9.73
|
# pycups==1.9.73
|
||||||
|
|
||||||
# homeassistant.components.daikin
|
# homeassistant.components.daikin
|
||||||
pydaikin==1.4.3
|
pydaikin==1.4.4
|
||||||
|
|
||||||
# homeassistant.components.danfoss_air
|
# homeassistant.components.danfoss_air
|
||||||
pydanfossair==0.1.0
|
pydanfossair==0.1.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user