Add strong to fan mode for Sensibo (#100773)

This commit is contained in:
G Johansson 2023-09-23 23:08:07 +02:00 committed by GitHub
parent 06ade74711
commit 1f66fc013c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 1 deletions

View File

@ -54,7 +54,15 @@ ATTR_HORIZONTAL_SWING_MODE = "horizontal_swing_mode"
ATTR_LIGHT = "light" ATTR_LIGHT = "light"
BOOST_INCLUSIVE = "boost_inclusive" BOOST_INCLUSIVE = "boost_inclusive"
AVAILABLE_FAN_MODES = {"quiet", "low", "medium", "medium_high", "high", "auto"} AVAILABLE_FAN_MODES = {
"quiet",
"low",
"medium",
"medium_high",
"high",
"strong",
"auto",
}
AVAILABLE_SWING_MODES = { AVAILABLE_SWING_MODES = {
"stopped", "stopped",
"fixedtop", "fixedtop",

View File

@ -127,6 +127,7 @@
"low": "[%key:component::climate::entity_component::_::state_attributes::fan_mode::state::low%]", "low": "[%key:component::climate::entity_component::_::state_attributes::fan_mode::state::low%]",
"medium": "[%key:component::climate::entity_component::_::state_attributes::fan_mode::state::medium%]", "medium": "[%key:component::climate::entity_component::_::state_attributes::fan_mode::state::medium%]",
"medium_high": "Medium high", "medium_high": "Medium high",
"strong": "Strong",
"quiet": "Quiet" "quiet": "Quiet"
} }
}, },
@ -211,6 +212,7 @@
"low": "[%key:component::climate::entity_component::_::state_attributes::fan_mode::state::low%]", "low": "[%key:component::climate::entity_component::_::state_attributes::fan_mode::state::low%]",
"medium": "[%key:component::climate::entity_component::_::state_attributes::fan_mode::state::medium%]", "medium": "[%key:component::climate::entity_component::_::state_attributes::fan_mode::state::medium%]",
"medium_high": "[%key:component::sensibo::entity::sensor::climate_react_low::state_attributes::fanlevel::state::medium_high%]", "medium_high": "[%key:component::sensibo::entity::sensor::climate_react_low::state_attributes::fanlevel::state::medium_high%]",
"strong": "[%key:component::sensibo::entity::sensor::climate_react_low::state_attributes::fanlevel::state::strong%]",
"quiet": "[%key:component::sensibo::entity::sensor::climate_react_low::state_attributes::fanlevel::state::quiet%]" "quiet": "[%key:component::sensibo::entity::sensor::climate_react_low::state_attributes::fanlevel::state::quiet%]"
} }
}, },
@ -347,6 +349,7 @@
"fan_mode": { "fan_mode": {
"state": { "state": {
"quiet": "Quiet", "quiet": "Quiet",
"strong": "Strong",
"low": "[%key:component::climate::entity_component::_::state_attributes::fan_mode::state::low%]", "low": "[%key:component::climate::entity_component::_::state_attributes::fan_mode::state::low%]",
"medium": "[%key:component::climate::entity_component::_::state_attributes::fan_mode::state::medium%]", "medium": "[%key:component::climate::entity_component::_::state_attributes::fan_mode::state::medium%]",
"medium_high": "Medium high", "medium_high": "Medium high",