**Device information**
Atlantic Alféa Extensa Duo (Heat Pump) with Cooling Mode… and heanting mode.
Temperature sensors, water heating system, electrical Consumption Sensors are discovered.
Would like to be able to set the operating mode for my 2 thermostats area (MANUAL, PROG, HOLIDAYS, OFF).

**Device details**
**io:AtlanticPassAPCHeatingAndCoolingZoneComponent**
```json
{
"commands": [{
"commandName": "refreshComfortCoolingTargetTemperature",
"nparams": 0
}, {
"commandName": "refreshComfortHeatingTargetTemperature",
"nparams": 0
}, {
"commandName": "refreshEcoCoolingTargetTemperature",
"nparams": 0
}, {
"commandName": "refreshEcoHeatingTargetTemperature",
"nparams": 0
}, {
"commandName": "refreshTargetTemperature",
"nparams": 0
}, {
"commandName": "setActiveCoolingTimeProgram",
"nparams": 1
}, {
"commandName": "setActiveHeatingTimeProgram",
"nparams": 1
}, {
"commandName": "setComfortCoolingTargetTemperature",
"nparams": 1
}, {
"commandName": "setComfortHeatingTargetTemperature",
"nparams": 1
}, {
"commandName": "setCoolingOnOffState",
"nparams": 1
}, {
"commandName": "setDerogatedTargetTemperature",
"nparams": 1
}, {
"commandName": "setDerogationOnOffState",
"nparams": 1
}, {
"commandName": "setDerogationTime",
"nparams": 1
}, {
"commandName": "setEcoCoolingTargetTemperature",
"nparams": 1
}, {
"commandName": "setEcoHeatingTargetTemperature",
"nparams": 1
}, {
"commandName": "setHeatingOnOffState",
"nparams": 1
}, {
"commandName": "setName",
"nparams": 1
}, {
"commandName": "refreshDerogationRemainingTime",
"nparams": 0
}, {
"commandName": "refreshPassAPCCoolingMode",
"nparams": 0
}, {
"commandName": "refreshPassAPCCoolingProfile",
"nparams": 0
}, {
"commandName": "refreshPassAPCHeatingMode",
"nparams": 0
}, {
"commandName": "refreshPassAPCHeatingProfile",
"nparams": 0
}, {
"commandName": "setPassAPCCoolingMode",
"nparams": 1
}, {
"commandName": "setPassAPCHeatingMode",
"nparams": 1
}],
"states": [{
"type": "DataState",
"qualifiedName": "core:ActiveCoolingTimeProgramState"
}, {
"type": "DataState",
"qualifiedName": "core:ActiveHeatingTimeProgramState"
}, {
"type": "ContinuousState",
"qualifiedName": "core:ComfortCoolingTargetTemperatureState"
}, {
"type": "ContinuousState",
"qualifiedName": "core:ComfortHeatingTargetTemperatureState"
}, {
"values": ["off", "on"],
"type": "DiscreteState",
"qualifiedName": "core:CoolingOnOffState"
}, {
"type": "ContinuousState",
"qualifiedName": "core:DerogatedTargetTemperatureState"
}, {
"values": ["off", "on"],
"type": "DiscreteState",
"qualifiedName": "core:DerogationOnOffState"
}, {
"type": "ContinuousState",
"qualifiedName": "core:EcoCoolingTargetTemperatureState"
}, {
"type": "ContinuousState",
"qualifiedName": "core:EcoHeatingTargetTemperatureState"
}, {
"values": ["off", "on"],
"type": "DiscreteState",
"qualifiedName": "core:HeatingOnOffState"
}, {
"type": "DataState",
"qualifiedName": "core:NameState"
}, {
"values": ["available", "unavailable"],
"type": "DiscreteState",
"qualifiedName": "core:StatusState"
}, {
"type": "ContinuousState",
"qualifiedName": "core:TargetTemperatureState"
}, {
"values": ["cooling", "heating", "heatingAndCooling"],
"type": "DiscreteState",
"qualifiedName": "core:ThermalConfigurationState"
}, {
"values": ["available", "unavailable"],
"type": "DiscreteState",
"qualifiedName": "io:CoolingInternalSchedulingAvailabilityState"
}, {
"type": "DataState",
"qualifiedName": "io:DerogationRemainingTimeState"
}, {
"values": ["available", "unavailable"],
"type": "DiscreteState",
"qualifiedName": "io:HeatingInternalSchedulingAvailabilityState"
}, {
"values": ["absence", "auto", "comfort", "eco", "externalScheduling", "internalScheduling", "manu", "stop"],
"type": "DiscreteState",
"qualifiedName": "io:PassAPCCoolingModeState"
}, {
"values": ["absence", "comfort", "derogation", "eco", "externalSetpoint", "frostprotection", "manu", "stop"],
"type": "DiscreteState",
"qualifiedName": "io:PassAPCCoolingProfileState"
}, {
"values": ["absence", "auto", "comfort", "eco", "externalScheduling", "internalScheduling", "manu", "stop"],
"type": "DiscreteState",
"qualifiedName": "io:PassAPCHeatingModeState"
}, {
"values": ["absence", "comfort", "derogation", "eco", "externalSetpoint", "frostprotection", "manu", "stop"],
"type": "DiscreteState",
"qualifiedName": "io:PassAPCHeatingProfileState"
}],
"dataProperties": [],
"widgetName": "AtlanticPassAPCHeatingAndCoolingZone",
"uiClass": "HeatingSystem",
"uiClassifiers": ["emitter", "heatingSystem", "coolingSystem"],
"qualifiedName": "io:AtlanticPassAPCHeatingAndCoolingZoneComponent",
"type": "ACTUATOR"
}
```
```
2021-02-05 13:19:29 DEBUG (MainThread) [custom_components.tahoma] Added device (io:AtlanticPassAPCZoneTemperatureSensor - TemperatureSensor - TemperatureSensor - io://1209-7004-4097/4062446#11)
2021-02-05 13:19:29 DEBUG (MainThread) [custom_components.tahoma] Added device (io:AtlanticPassAPCDHWComponent - WaterHeatingSystem - AtlanticPassAPCDHW - io://1209-7004-4097/4062446#2)
2021-02-05 13:19:29 DEBUG (MainThread) [custom_components.tahoma] Added device (io:AtlanticPassAPCOutsideTemperatureSensor - TemperatureSensor - TemperatureSensor - io://1209-7004-4097/4062446#3)
2021-02-05 13:19:29 DEBUG (MainThread) [custom_components.tahoma] Added device (io:TotalElectricalEnergyConsumptionSensor - ElectricitySensor - CumulativeElectricPowerConsumptionSensor - io://1209-7004-4097/4062446#4)
2021-02-05 13:19:29 DEBUG (MainThread) [custom_components.tahoma] Added device (io:DHWRelatedElectricalEnergyConsumptionSensor - ElectricitySensor - CumulativeElectricPowerConsumptionSensor - io://1209-7004-4097/4062446#5)
2021-02-05 13:19:29 DEBUG (MainThread) [custom_components.tahoma] Added device (io:HeatingRelatedElectricalEnergyConsumptionSensor - ElectricitySensor - CumulativeElectricPowerConsumptionSensor - io://1209-7004-4097/4062446#6)
2021-02-05 13:19:29 DEBUG (MainThread) [custom_components.tahoma] Added device (io:CoolingRelatedElectricalEnergyConsumptionSensor - ElectricitySensor - CumulativeElectricPowerConsumptionSensor - io://1209-7004-4097/4062446#7)
```
```
2021-02-05 13:19:29 DEBUG (MainThread) [custom_components.tahoma] Unsupported device detected (io:AtlanticPassAPCHeatPumpMainComponent - HeatingSystem - AtlanticPassAPCHeatPump - io://1209-7004-4097/4062446#1)
2021-02-05 13:19:29 DEBUG (MainThread) [custom_components.tahoma] Unsupported device detected (io:AtlanticPassAPCHeatingAndCoolingZoneComponent - HeatingSystem - AtlanticPassAPCHeatingAndCoolingZone - io://1209-7004-4097/4062446#10)
2021-02-05 13:19:29 DEBUG (MainThread) [custom_components.tahoma] Unsupported device detected (io:AtlanticPassAPCHeatingAndCoolingZoneComponent - HeatingSystem - AtlanticPassAPCHeatingAndCoolingZone - io://1209-7004-4097/4062446#8)
```
**Hub:**
Somfy Tahoma V2
**Device commands**
1. Set manual mode (2O°C during 1 hour)
```
2021-02-05 13:20:17 INFO (MainThread) [custom_components.tahoma] 2021-02-05 11:34:37: setDerogatedTargetTemperature executed via Etage - Mode Manu - 20 Pendant 1 heures - TaHoma PC on io://1209-7004-4097/4062446#8, with [20].
2021-02-05 13:20:17 INFO (MainThread) [custom_components.tahoma] 2021-02-05 11:34:37: setDerogationOnOffState executed via Etage - Mode Manu - 20 Pendant 1 heures - TaHoma PC on io://1209-7004-4097/4062446#8, with ['on'].
2021-02-05 13:20:17 INFO (MainThread) [custom_components.tahoma] 2021-02-05 11:34:37: setDerogationTime executed via Etage - Mode Manu - 20 Pendant 1 heures - TaHoma PC on io://1209-7004-4097/4062446#8, with [1].
2021-02-05 13:20:17 INFO (MainThread) [custom_components.tahoma] 2021-02-05 11:34:37: refreshTargetTemperature executed via Etage - Mode Manu - 20 Pendant 1 heures - TaHoma PC on io://1209-7004-4097/4062446#8, with [].
2021-02-05 13:20:17 INFO (MainThread) [custom_components.tahoma] 2021-02-05 11:34:37: refreshDerogationRemainingTime executed via Etage - Mode Manu - 20 Pendant 1 heures - TaHoma PC on io://1209-7004-4097/4062446#8, with [].
2021-02-05 13:20:17 INFO (MainThread) [custom_components.tahoma] 2021-02-05 11:34:37: refreshPassAPCCoolingMode executed via Etage - Mode Manu - 20 Pendant 1 heures - TaHoma PC on io://1209-7004-4097/4062446#8, with [].
2021-02-05 13:20:17 INFO (MainThread) [custom_components.tahoma] 2021-02-05 11:34:37: refreshPassAPCHeatingMode executed via Etage - Mode Manu - 20 Pendant 1 heures - TaHoma PC on io://1209-7004-4097/4062446#8, with [].
2021-02-05 13:20:17 INFO (MainThread) [custom_components.tahoma] 2021-02-05 11:34:37: refreshPassAPCHeatingProfile executed via Etage - Mode Manu - 20 Pendant 1 heures - TaHoma PC on io://1209-7004-4097/4062446#8, with [].
2021-02-05 13:20:17 INFO (MainThread) [custom_components.tahoma] 2021-02-05 11:34:37: refreshPassAPCCoolingProfile executed via Etage - Mode Manu - 20 Pendant 1 heures - TaHoma PC on io://1209-7004-4097/4062446#8, with [].
```


2. Set PROG mode
```
2021-02-05 13:20:17 INFO (MainThread) [custom_components.tahoma] 2021-02-05 13:19:15: setPassAPCHeatingMode executed via Etage - Mode auto - TaHoma PC on io://1209-7004-4097/4062446#8, with ['internalScheduling'].
2021-02-05 13:20:17 INFO (MainThread) [custom_components.tahoma] 2021-02-05 13:19:15: setDerogationOnOffState executed via Etage - Mode auto - TaHoma PC on io://1209-7004-4097/4062446#8, with ['off'].
2021-02-05 13:20:17 INFO (MainThread) [custom_components.tahoma] 2021-02-05 13:19:15: refreshPassAPCCoolingMode executed via Etage - Mode auto - TaHoma PC on io://1209-7004-4097/4062446#8, with [].
2021-02-05 13:20:17 INFO (MainThread) [custom_components.tahoma] 2021-02-05 13:19:15: refreshPassAPCHeatingMode executed via Etage - Mode auto - TaHoma PC on io://1209-7004-4097/4062446#8, with [].
2021-02-05 13:20:17 INFO (MainThread) [custom_components.tahoma] 2021-02-05 13:19:15: refreshPassAPCHeatingProfile executed via Etage - Mode auto - TaHoma PC on io://1209-7004-4097/4062446#8, with [].
2021-02-05 13:20:17 INFO (MainThread) [custom_components.tahoma] 2021-02-05 13:19:15: refreshPassAPCCoolingProfile executed via Etage - Mode auto - TaHoma PC on io://1209-7004-4097/4062446#8, with [].
```

3. Set OFF mode
```
2021-02-05 13:20:17 INFO (MainThread) [custom_components.tahoma] 2021-02-05 11:37:59: setPassAPCHeatingMode executed via Etage - Mode off - TaHoma PC on io://1209-7004-4097/4062446#8, with ['stop'].
2021-02-05 13:20:17 INFO (MainThread) [custom_components.tahoma] 2021-02-05 11:37:59: refreshPassAPCCoolingMode executed via Etage - Mode off - TaHoma PC on io://1209-7004-4097/4062446#8, with [].
2021-02-05 13:20:17 INFO (MainThread) [custom_components.tahoma] 2021-02-05 11:37:59: refreshPassAPCHeatingMode executed via Etage - Mode off - TaHoma PC on io://1209-7004-4097/4062446#8, with [].
2021-02-05 13:20:17 INFO (MainThread) [custom_components.tahoma] 2021-02-05 11:37:59: refreshPassAPCHeatingProfile executed via Etage - Mode off - TaHoma PC on io://1209-7004-4097/4062446#8, with [].
2021-02-05 13:20:17 INFO (MainThread) [custom_components.tahoma] 2021-02-05 11:37:59: refreshPassAPCCoolingProfile executed via Etage - Mode off - TaHoma PC on io://1209-7004-4097/4062446#8, with [].
```

4. Set HOLIDAYS mode
```
2021-02-05 13:20:17 INFO (MainThread) [custom_components.tahoma] 2021-02-05 11:45:01: setAbsenceStartDateTime executed via Etage - Mode vacances - jusqu'au lundi 8 février 2021 - TaHoma PC on io://1209-7004-4097/4062446#1, with [{'year': 2021, 'minute': 45, 'month': 2, 'hour': 11, 'day': 5}].
2021-02-05 13:20:17 INFO (MainThread) [custom_components.tahoma] 2021-02-05 11:45:01: setAbsenceEndDateTime executed via Etage - Mode vacances - jusqu'au lundi 8 février 2021 - TaHoma PC on io://1209-7004-4097/4062446#1, with [{'year': 2021, 'minute': 1, 'month': 2, 'hour': 0, 'day': 8}].
2021-02-05 13:20:17 INFO (MainThread) [custom_components.tahoma] 2021-02-05 11:45:01: setPassAPCHeatingMode executed via Etage - Mode vacances - jusqu'au lundi 8 février 2021 - TaHoma PC on io://1209-7004-4097/4062446#8, with ['absence'].
2021-02-05 13:20:17 INFO (MainThread) [custom_components.tahoma] 2021-02-05 11:45:01: refreshPassAPCCoolingMode executed via Etage - Mode vacances - jusqu'au lundi 8 février 2021 - TaHoma PC on io://1209-7004-4097/4062446#8, with [].
2021-02-05 13:20:17 INFO (MainThread) [custom_components.tahoma] 2021-02-05 11:45:01: refreshPassAPCHeatingMode executed via Etage - Mode vacances - jusqu'au lundi 8 février 2021 - TaHoma PC on io://1209-7004-4097/4062446#8, with [].
2021-02-05 13:20:17 INFO (MainThread) [custom_components.tahoma] 2021-02-05 11:45:01: refreshPassAPCHeatingProfile executed via Etage - Mode vacances - jusqu'au lundi 8 février 2021 - TaHoma PC on io://1209-7004-4097/4062446#8, with [].
2021-02-05 13:20:17 INFO (MainThread) [custom_components.tahoma] 2021-02-05 11:45:01: refreshPassAPCCoolingProfile executed via Etage - Mode vacances - jusqu'au lundi 8 février 2021 - TaHoma PC on io://1209-7004-4097/4062446#8, with [].
2021-02-05 13:20:17 INFO (MainThread) [custom_components.tahoma] 2021-02-05 11:41:56: setAbsenceStartDateTime executed via Etage - Mode vacances - jusqu'au dimanche 7 février 2021 - TaHoma PC on io://1209-7004-4097/4062446#1, with [{'year': 2021, 'minute': 41, 'month': 2, 'hour': 11, 'day': 5}].
2021-02-05 13:20:17 INFO (MainThread) [custom_components.tahoma] 2021-02-05 11:41:56: setAbsenceEndDateTime executed via Etage - Mode vacances - jusqu'au dimanche 7 février 2021 - TaHoma PC on io://1209-7004-4097/4062446#1, with [{'year': 2021, 'minute': 1, 'month': 2, 'hour': 0, 'day': 7}].
2021-02-05 13:20:17 INFO (MainThread) [custom_components.tahoma] 2021-02-05 11:41:56: setPassAPCHeatingMode executed via Etage - Mode vacances - jusqu'au dimanche 7 février 2021 - TaHoma PC on io://1209-7004-4097/4062446#8, with ['absence'].
2021-02-05 13:20:17 INFO (MainThread) [custom_components.tahoma] 2021-02-05 11:41:56: refreshPassAPCCoolingMode executed via Etage - Mode vacances - jusqu'au dimanche 7 février 2021 - TaHoma PC on io://1209-7004-4097/4062446#8, with [].
2021-02-05 13:20:17 INFO (MainThread) [custom_components.tahoma] 2021-02-05 11:41:56: refreshPassAPCHeatingMode executed via Etage - Mode vacances - jusqu'au dimanche 7 février 2021 - TaHoma PC on io://1209-7004-4097/4062446#8, with [].
2021-02-05 13:20:17 INFO (MainThread) [custom_components.tahoma] 2021-02-05 11:41:56: refreshPassAPCHeatingProfile executed via Etage - Mode vacances - jusqu'au dimanche 7 février 2021 - TaHoma PC on io://1209-7004-4097/4062446#8, with [].
2021-02-05 13:20:17 INFO (MainThread) [custom_components.tahoma] 2021-02-05 11:41:56: refreshPassAPCCoolingProfile executed via Etage - Mode vacances - jusqu'au dimanche 7 février 2021 - TaHoma PC on io://1209-7004-4097/4062446#8, with [].
```


_Originally posted by @nutsben in https://github.com/iMicknl/ha-tahoma/issues/355#issuecomment-774179012_