Add discovered HVAC and PRESET options (#1177)
* Add discovered HVAC and PRESET options This commit adds the HVAC Action Set and Preset Set that I've discovered my Bödenwarme Underfloor Heating thermostat to be using as detailed here: https://github.com/rospogrigio/localtuya/issues/1175 * Add HVAC mode and action sets for climate entities These are the actions and modes as reported by the Magnum smart wifi thermostat: https://www.magnumheating.com/product/remote-control/ --------- Co-authored-by: Rutger Kerkhoff <rutger.kerkhoff@grafana.com>
This commit is contained in:
@@ -72,6 +72,10 @@ HVAC_MODE_SETS = {
|
||||
HVACMode.HEAT: "Manual",
|
||||
HVACMode.AUTO: "Auto",
|
||||
},
|
||||
"MANUAL/AUTO": {
|
||||
HVAC_MODE_HEAT: "MANUAL",
|
||||
HVAC_MODE_AUTO: "AUTO",
|
||||
},
|
||||
"Manual/Program": {
|
||||
HVACMode.HEAT: "Manual",
|
||||
HVACMode.AUTO: "Program",
|
||||
@@ -112,6 +116,10 @@ HVAC_ACTION_SETS = {
|
||||
HVACAction.HEATING: "Heat",
|
||||
HVACAction.IDLE: "Warming",
|
||||
},
|
||||
"heating/warming": {
|
||||
CURRENT_HVAC_HEAT: "heating",
|
||||
CURRENT_HVAC_IDLE: "warming",
|
||||
},
|
||||
}
|
||||
HVAC_FAN_MODE_SETS = {
|
||||
"Auto/Low/Middle/High/Strong": {
|
||||
@@ -134,6 +142,11 @@ PRESET_SETS = {
|
||||
PRESET_HOME: "Program",
|
||||
PRESET_NONE: "Manual",
|
||||
},
|
||||
"smart/holiday/hold": {
|
||||
PRESET_AWAY: "holiday",
|
||||
PRESET_HOME: "smart",
|
||||
PRESET_NONE: "hold",
|
||||
},
|
||||
}
|
||||
|
||||
TEMPERATURE_CELSIUS = "celsius"
|
||||
|
Reference in New Issue
Block a user