iMicknl / ha-tahoma

Custom component for Home Assistant to interact with smart devices via Somfy TaHoma or other OverKiz based API's.
MIT License
151 stars 30 forks source link

DHWP Actuator Expected Number Of Shower has wrong values in "min", "max" and "mode" attributes for Thermor Cozytouch water heater #708

Open gbuico opened 2 years ago

gbuico commented 2 years ago

Did you read the instructions?

The problem

Thermor water heater allow to set the expected number of shower with a value between 1 and 3

"DHWP Actuator Expected Number Of Shower" attributes contain wrong values. Min is 2, should be 1 Max is 4, should be 3 Mode is auto, should be manual

"water_heater.dhwp_actuator" correctly shows operation_mode: manual

What version of this integration (ha-tahoma) has the issue?

2.11.0

What version of Home Assistant Core has the issue?

core-2021.12.6

Which gateway / hub do you use?

Cozytouch

Device model

DomesticHotWaterProduction by Atlantic Group

Home Assistant log

No response

Additional information

image image

tetienne commented 2 years ago

Hi,

Thx for reporting. @iMicknl Do you remember why you set the minimum to 2, and the maximum to 4?

About the mode, auto is fine IMO. See https://developers.home-assistant.io/docs/core/entity/number Why do you want to change it?

iMicknl commented 2 years ago

I am afraid that these values can differ per device / implementation... Since I am almost sure that I set them to the limits.

And indeed, mode auto is not related to your water heater.

tetienne commented 2 years ago

@gbuico what happen if you set the max value to 4? You get an error?

@iMicknl I share the same feeling

gbuico commented 2 years ago

Let's leave aside the "auto"... may be I'm getting wrong its meaning...

Something weird is happening when I try to change the value. If I change it to 4 nothing happens on the heater and in the Cozytouch app... but the entity bounches back to 3 (or never moves from 3) If I change to 2 , the heater and the app do reflect the change but in Home Assistant the attribute remains 3 :( image May be this hstory shows it better

In the core trace I find the following: 2022-01-13 18:11:46 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: list object has no element 1 when rendering '{{ value_json['update']['new_version'].split('/')[1] }}'

..not sure if this entry is related.. but the timing seems to be

gbuico commented 2 years ago

@iMicknl I'm not sure if there are older implementations but the current Thermor Malicio 2 allows to set the number of shower in a range between 1 to 3. Attached you see the screenshot of the app and the photo of the front panel...

Screenshot_20220113-182153_Cozytouch 20220113_182514

tetienne commented 2 years ago

@gbuico Can you please enable the debug log as explain here, and copy them in this issue? I would like to see if the minimum and maximum values are returned by the API.

gbuico commented 2 years ago

@tetienne ... hope you'll find what you are looking for...

2022-01-14 16:25:45 DEBUG (MainThread) [custom_components.tahoma] Finished fetching device events data in 0.062 seconds (success: True)
2022-01-14 16:25:45 DEBUG (MainThread) [custom_components.tahoma] Added device (Device(attributes=States(_states=[State(name='core:Manufacturer', type=<DataType.STRING: 3>, value='Atlantic Group'), State(name='core:FirmwareRevision', type=<DataType.STRING: 3>, value='A752001')]), available=True, enabled=True, label='DHWP Actuator', device_url=io://****-****-7969/16006245#1, controllable_name='io:AtlanticDomesticHotWaterProductionV2_CE_FLAT_C2_IOComponent', definition=Definition(commands=CommandDefinitions(_commands=[CommandDefinition(command_name='advancedRefresh', nparams=1), CommandDefinition(command_name='delayedStopIdentify', nparams=1), CommandDefinition(command_name='getName', nparams=0), CommandDefinition(command_name='identify', nparams=0), CommandDefinition(command_name='refreshAbsenceEndDate', nparams=0), CommandDefinition(command_name='refreshAbsenceMode', nparams=0), CommandDefinition(command_name='refreshAbsenceStartDate', nparams=0), CommandDefinition(command_name='refreshBoostEndDate', nparams=0), CommandDefinition(command_name='refreshBoostMode', nparams=0), CommandDefinition(command_name='refreshBoostStartDate', nparams=0), CommandDefinition(command_name='refreshBottomTankWaterTemperature', nparams=0), CommandDefinition(command_name='refreshManufacturerName', nparams=0), CommandDefinition(command_name='refreshMiddleWaterTemperatureIn', nparams=0), CommandDefinition(command_name='refreshTargetTemperature', nparams=0), CommandDefinition(command_name='refreshWaterConsumption', nparams=0), CommandDefinition(command_name='refreshWaterTargetTemperature', nparams=0), CommandDefinition(command_name='refreshWaterTemperature', nparams=0), CommandDefinition(command_name='setAbsenceEndDate', nparams=1), CommandDefinition(command_name='setAbsenceMode', nparams=1), CommandDefinition(command_name='setAbsenceStartDate', nparams=1), CommandDefinition(command_name='setBoostEndDate', nparams=1), CommandDefinition(command_name='setBoostMode', nparams=1), CommandDefinition(command_name='setBoostStartDate', nparams=1), CommandDefinition(command_name='setComfortTargetTemperature', nparams=1), CommandDefinition(command_name='setDateTime', nparams=1), CommandDefinition(command_name='setEcoTargetTemperature', nparams=1), CommandDefinition(command_name='setExpectedNumberOfShower', nparams=1), CommandDefinition(command_name='setFrostProtectionTargetTemperature', nparams=1), CommandDefinition(command_name='setName', nparams=1), CommandDefinition(command_name='setTargetDHWTemperature', nparams=1), CommandDefinition(command_name='setTargetTemperature', nparams=1), CommandDefinition(command_name='setWaterTargetTemperature', nparams=1), CommandDefinition(command_name='setWaterTemperature', nparams=1), CommandDefinition(command_name='startIdentify', nparams=0), CommandDefinition(command_name='stopIdentify', nparams=0), CommandDefinition(command_name='wink', nparams=1), CommandDefinition(command_name='refreshExpectedNumberOfShower', nparams=0), CommandDefinition(command_name='pairOneWayController', nparams=2), CommandDefinition(command_name='refreshAntiLegionellosis', nparams=0), CommandDefinition(command_name='refreshAwayModeDuration', nparams=0), CommandDefinition(command_name='refreshBoilerInstallationOption', nparams=0), CommandDefinition(command_name='refreshBoostModeDuration', nparams=0), CommandDefinition(command_name='refreshCurrentOperatingMode', nparams=0), CommandDefinition(command_name='refreshDHWCapacity', nparams=0), CommandDefinition(command_name='refreshDHWError', nparams=0), CommandDefinition(command_name='refreshDHWMode', nparams=0), CommandDefinition(command_name='refreshElectricalExtraManagement', nparams=0), CommandDefinition(command_name='refreshExtractionOption', nparams=0), CommandDefinition(command_name='refreshInstallation', nparams=0), CommandDefinition(command_name='refreshMiddleWaterTemperature', nparams=0), CommandDefinition(command_name='refreshOperatingModeCapabilities', nparams=0), CommandDefinition(command_name='refreshOperatingRange', nparams=0), CommandDefinition(command_name='refreshOperatingTime', nparams=0), CommandDefinition(command_name='refreshProgrammingSlots', nparams=0), CommandDefinition(command_name='refreshRateManagement', nparams=0), CommandDefinition(command_name='refreshSmartGridOption', nparams=0), CommandDefinition(command_name='setAntiLegionellosis', nparams=1), CommandDefinition(command_name='setAwayModeDuration', nparams=1), CommandDefinition(command_name='setBoilerInstallationOption', nparams=1), CommandDefinition(command_name='setBoostModeDuration', nparams=1), CommandDefinition(command_name='setCurrentOperatingMode', nparams=1), CommandDefinition(command_name='setDHWMode', nparams=1), CommandDefinition(command_name='setElectricalExtraManagement', nparams=1), CommandDefinition(command_name='setExtractionOption', nparams=1), CommandDefinition(command_name='setHaltedTargetTemperature', nparams=1), CommandDefinition(command_name='setInstallation', nparams=1), CommandDefinition(command_name='setOperatingRange', nparams=1), CommandDefinition(command_name='setProgrammingSlots', nparams=1), CommandDefinition(command_name='setRateManagement', nparams=1), CommandDefinition(command_name='setSmartGridOption', nparams=1), CommandDefinition(command_name='unpairAllOneWayControllers', nparams=0), CommandDefinition(command_name='unpairOneWayController', nparams=2)]), states=[StateDefinition(qualified_name='core:AbsenceEndDateState', type='DataState', values=None), StateDefinition(qualified_name='core:AbsenceStartDateState', type='DataState', values=None), StateDefinition(qualified_name='core:BoostElectricPowerConsumptionState', type='ContinuousState', values=None), StateDefinition(qualified_name='core:BoostEndDateState', type='DataState', values=None), StateDefinition(qualified_name='core:BoostModeDurationState', type='ContinuousState', values=None), StateDefinition(qualified_name='core:BoostStartDateState', type='DataState', values=None), StateDefinition(qualified_name='core:BottomTankWaterTemperatureState', type='ContinuousState', values=None), StateDefinition(qualified_name='core:ComfortTargetTemperatureState', type='ContinuousState', values=None), StateDefinition(qualified_name='core:ControlWaterTargetTemperatureState', type='ContinuousState', values=None), StateDefinition(qualified_name='core:DHWPSoftwareVersionState', type='ContinuousState', values=None), StateDefinition(qualified_name='core:DateTimeState', type='DataState', values=None), StateDefinition(qualified_name='core:DiscreteRSSILevelState', type='DiscreteState', values=['good', 'low', 'normal', 'verylow']), StateDefinition(qualified_name='core:EcoTargetTemperatureState', type='ContinuousState', values=None), StateDefinition(qualified_name='core:ExpectedNumberOfShowerState', type='ContinuousState', values=None), StateDefinition(qualified_name='core:FrostProtectionTargetTemperatureState', type='ContinuousState', values=None), StateDefinition(qualified_name='core:HaltedTargetTemperatureState', type='ContinuousState', values=None), StateDefinition(qualified_name='core:HeatingStatusState', type='DataState', values=None), StateDefinition(qualified_name='core:ManufacturerNameState', type='DataState', values=None), StateDefinition(qualified_name='core:MaximalShowerManualModeState', type='ContinuousState', values=None), StateDefinition(qualified_name='core:MaximalTemperatureManualModeState', type='ContinuousState', values=None), StateDefinition(qualified_name='core:MiddleWaterTemperatureInState', type='ContinuousState', values=None), StateDefinition(qualified_name='core:MinimalShowerManualModeState', type='ContinuousState', values=None), StateDefinition(qualified_name='core:MinimalTemperatureManualModeState', type='ContinuousState', values=None), StateDefinition(qualified_name='core:NameState', type='DataState', values=None), StateDefinition(qualified_name='core:NumberOfShowerRemainingState', type='ContinuousState', values=None), StateDefinition(qualified_name='core:NumberOfTankState', type='ContinuousState', values=None), StateDefinition(qualified_name='core:OperatingModeState', type='DiscreteState', values=['antifreeze', 'auto', 'away', 'eco', 'frostprotection', 'manual', 'max', 'normal', 'off', 'on', 'prog', 'program', 'boost']), StateDefinition(qualified_name='core:PowerHeatElectricalInState', type='ContinuousState', values=None), StateDefinition(qualified_name='core:PriorityLockTimerState', type='ContinuousState', values=None), StateDefinition(qualified_name='core:ProgrammingAvailableState', type='DataState', values=None), StateDefinition(qualified_name='core:RSSILevelState', type='ContinuousState', values=None), StateDefinition(qualified_name='core:SecuredPositionTemperatureState', type='ContinuousState', values=None), StateDefinition(qualified_name='core:StatusState', type='DiscreteState', values=['available', 'unavailable']), StateDefinition(qualified_name='core:StopRelaunchState', type='DataState', values=None), StateDefinition(qualified_name='core:TargetDHWTemperatureState', type='ContinuousState', values=None), StateDefinition(qualified_name='core:TargetTemperatureState', type='ContinuousState', values=None), StateDefinition(qualified_name='core:TemperatureState', type='ContinuousState', values=None), StateDefinition(qualified_name='core:V40WaterVolumeEstimationState', type='DataState', values=None), StateDefinition(qualified_name='core:VersionState', type='ContinuousState', values=None), StateDefinition(qualified_name='core:WaterConsumptionState', type='ContinuousState', values=None), StateDefinition(qualified_name='core:WaterTargetTemperatureState', type='ContinuousState', values=None), StateDefinition(qualified_name='core:WaterTemperatureState', type='ContinuousState', values=None), StateDefinition(qualified_name='io:AntiLegionellosisState', type='ContinuousState', values=None), StateDefinition(qualified_name='io:AwayModeDurationState', type='ContinuousState', values=None), StateDefinition(qualified_name='io:BoilerInstallationOptionState', type='DiscreteState', values=['boilerOptimising', 'boilerPriority', 'heatPumpOptimising', 'heatPumpPriority']), StateDefinition(qualified_name='io:DHWAbsenceModeState', type='DiscreteState', values=['off', 'on', 'prog']), StateDefinition(qualified_name='io:DHWBoostModeState', type='DiscreteState', values=['off', 'on', 'prog']), StateDefinition(qualified_name='io:DHWCapacityState', type='ContinuousState', values=None), StateDefinition(qualified_name='io:DHWErrorState', type='DataState', values=None), StateDefinition(qualified_name='io:DHWModeState', type='DiscreteState', values=['autoMode', 'manualEcoActive', 'manualEcoInactive']), StateDefinition(qualified_name='io:ElectricBoosterOperatingTimeState', type='ContinuousState', values=None), StateDefinition(qualified_name='io:ElectricalExtraManagementState', type='DiscreteState', values=['auto', 'deactive']), StateDefinition(qualified_name='io:ExtractionOptionState', type='DiscreteState', values=['fastExtractionSpeed', 'lowExtractionSpeed', 'noExtraction']), StateDefinition(qualified_name='io:HeatPumpOperatingTimeState', type='ContinuousState', values=None), StateDefinition(qualified_name='io:InstallationState', type='DiscreteState', values=['extraBoiler', 'extraSolar', 'onlyThermodynamic']), StateDefinition(qualified_name='io:MiddleWaterTemperatureState', type='ContinuousState', values=None), StateDefinition(qualified_name='io:OperatingModeCapabilitiesState', type='DataState', values=None), StateDefinition(qualified_name='io:OperatingRangeState', type='DiscreteState', values=['pac24h_elec24h', 'pacProg_elecProg']), StateDefinition(qualified_name='io:PowerConsumptionFanState', type='DataState', values=None), StateDefinition(qualified_name='io:PowerHeatElectricalState', type='DataState', values=None), StateDefinition(qualified_name='io:PowerHeatPumpState', type='DataState', values=None), StateDefinition(qualified_name='io:PriorityLockLevelState', type='DiscreteState', values=['comfortLevel1', 'comfortLevel2', 'comfortLevel3', 'comfortLevel4', 'environmentProtection', 'humanProtection', 'userLevel1', 'userLevel2']), StateDefinition(qualified_name='io:PriorityLockOriginatorState', type='DiscreteState', values=['LSC', 'SAAC', 'SFC', 'UPS', 'externalGateway', 'localUser', 'myself', 'rain', 'security', 'temperature', 'timer', 'user', 'wind']), StateDefinition(qualified_name='io:ProgrammingSlotsState', type='DataState', values=None), StateDefinition(qualified_name='io:RateManagementState', type='DiscreteState', values=['forbidden', 'no', 'recommended', 'unsuitable', 'wanted']), StateDefinition(qualified_name='io:SmartGridOptionState', type='DiscreteState', values=['active', 'deactive'])], widget_name='DomesticHotWaterProduction', ui_class='WaterHeatingSystem', qualified_name='io:AtlanticDomesticHotWaterProductionV2_CE_FLAT_C2_IOComponent'), data_properties=None, widget='DomesticHotWaterProduction', ui_class='WaterHeatingSystem', states=States(_states=[State(name='core:NameState', type=<DataType.STRING: 3>, value='DHWP Actuator'), State(name='core:VersionState', type=<DataType.STRING: 3>, value='41373532303031202020'), State(name='core:PriorityLockTimerState', type=<DataType.INTEGER: 1>, value=0), State(name='core:StatusState', type=<DataType.STRING: 3>, value='available'), State(name='core:DiscreteRSSILevelState', type=<DataType.STRING: 3>, value='good'), State(name='core:RSSILevelState', type=<DataType.FLOAT: 2>, value=100.0), State(name='io:RateManagementState', type=<DataType.STRING: 3>, value='?'), State(name='io:OperatingModeCapabilitiesState', type=<DataType.JSON_OBJECT: 11>, value={'relaunch': 1, 'absence': 1, 'rate_management': 1, 'energy_demand_status': 0}), State(name='core:OperatingModeState', type=<DataType.JSON_OBJECT: 11>, value={'relaunch': 'Not_Used', 'absence': 'Not_Used'}), State(name='core:WaterConsumptionState', type=<DataType.INTEGER: 1>, value=130), State(name='io:DHWErrorState', type=<DataType.JSON_OBJECT: 11>, value={'code': 255, 'minor': 255, 'family': 'W', 'type': 4}), State(name='io:HeatPumpOperatingTimeState', type=<DataType.INTEGER: 1>, value=0), State(name='io:ElectricBoosterOperatingTimeState', type=<DataType.INTEGER: 1>, value=258), State(name='io:DHWModeState', type=<DataType.STRING: 3>, value='manualEcoInactive'), State(name='core:TemperatureState', type=<DataType.FLOAT: 2>, value=20.0), State(name='core:TargetTemperatureState', type=<DataType.FLOAT: 2>, value=62.0), State(name='io:OperatingRangeState', type=<DataType.STRING: 3>, value='pac24h_elec24h'), State(name='io:ProgrammingSlotsState', type=<DataType.JSON_OBJECT: 11>, value={'slot2': {'start': '00:00', 'end': '00:00'}, 'slot1': {'start': '22:00', 'end': '06:00'}}), State(name='io:AntiLegionellosisState', type=<DataType.INTEGER: 1>, value=1), State(name='core:ProgrammingAvailableState', type=<DataType.INTEGER: 1>, value=0), State(name='io:DHWBoostModeState', type=<DataType.STRING: 3>, value='off'), State(name='io:DHWAbsenceModeState', type=<DataType.STRING: 3>, value='off'), State(name='core:NumberOfTankState', type=<DataType.INTEGER: 1>, value=2), State(name='core:BoostElectricPowerConsumptionState', type=<DataType.INTEGER: 1>, value=0), State(name='core:PowerHeatElectricalInState', type=<DataType.INTEGER: 1>, value=0), State(name='io:MiddleWaterTemperatureState', type=<DataType.FLOAT: 2>, value=68.9), State(name='core:BottomTankWaterTemperatureState', type=<DataType.FLOAT: 2>, value=0.0), State(name='core:V40WaterVolumeEstimationState', type=<DataType.INTEGER: 1>, value=23345), State(name='io:PowerHeatElectricalState', type=<DataType.INTEGER: 1>, value=0), State(name='io:PowerHeatPumpState', type=<DataType.INTEGER: 1>, value=0), State(name='core:WaterTargetTemperatureState', type=<DataType.FLOAT: 2>, value=60.0), State(name='core:TargetDHWTemperatureState', type=<DataType.FLOAT: 2>, value=60.0), State(name='core:WaterTemperatureState', type=<DataType.FLOAT: 2>, value=60.0), State(name='core:ExpectedNumberOfShowerState', type=<DataType.INTEGER: 1>, value=3), State(name='core:ControlWaterTargetTemperatureState', type=<DataType.FLOAT: 2>, value=70.0), State(name='core:StopRelaunchState', type=<DataType.STRING: 3>, value=' Relaunch Enable'), State(name='core:MiddleWaterTemperatureInState', type=<DataType.FLOAT: 2>, value=63.3), State(name='core:HeatingStatusState', type=<DataType.STRING: 3>, value='off'), State(name='core:NumberOfShowerRemainingState', type=<DataType.INTEGER: 1>, value=3), State(name='core:DateTimeState', type=<DataType.JSON_OBJECT: 11>, value={'month': 1, 'hour': 7, 'year': 2022, 'weekday': 4, 'day': 14, 'minute': 18, 'second': 30}), State(name='core:ManufacturerNameState', type=<DataType.STRING: 3>, value='Thermor'), State(name='core:DHWPSoftwareVersionState', type=<DataType.STRING: 3>, value='MALICIO'), State(name='io:DHWCapacityState', type=<DataType.INTEGER: 1>, value=65), State(name='core:BoostStartDateState', type=<DataType.JSON_OBJECT: 11>, value={'month': '??', 'hour': 0, 'year': 0, 'weekday': 0, 'day': '??', 'minute': 0, 'second': 0}), State(name='core:BoostEndDateState', type=<DataType.JSON_OBJECT: 11>, value={'month': '??', 'hour': 0, 'year': 0, 'weekday': 0, 'day': '??', 'minute': 0, 'second': 0}), State(name='core:MinimalTemperatureManualModeState', type=<DataType.FLOAT: 2>, value=50.0), State(name='core:MaximalTemperatureManualModeState', type=<DataType.FLOAT: 2>, value=70.0), State(name='core:MinimalShowerManualModeState', type=<DataType.INTEGER: 1>, value=1), State(name='core:MaximalShowerManualModeState', type=<DataType.INTEGER: 1>, value=3)]), type=<ProductType.ACTUATOR: 1>, place_oid='453f4432-2676-478a-b0b8-4ffabb371307'))
2022-01-14 16:25:45 DEBUG (MainThread) [custom_components.tahoma] Unsupported device detected (Device(attributes=States(_states=[State(name='core:Manufacturer', type=<DataType.STRING: 3>, value='Atlantic Group'), State(name='core:FirmwareRevision', type=<DataType.STRING: 3>, value='A752001'), State(name='core:PowerSourceType', type=<DataType.STRING: 3>, value='mainSupply'), State(name='core:MeasuredValueType', type=<DataType.STRING: 3>, value='core:ElectricalEnergyInWh')]), available=True, enabled=True, label='IO (16006245#2)', device_url=io://****-****-7969/16006245#2, controllable_name='io:DHWCumulatedElectricalEnergyConsumptionIOSystemDeviceSensor', definition=Definition(commands=CommandDefinitions(_commands=[CommandDefinition(command_name='refreshElectricEnergyConsumption', nparams=0)]), states=[StateDefinition(qualified_name='core:ConsumptionTariff0State', type='ContinuousState', values=None), StateDefinition(qualified_name='core:ConsumptionTariff1State', type='ContinuousState', values=None), StateDefinition(qualified_name='core:ConsumptionTariff2State', type='ContinuousState', values=None), StateDefinition(qualified_name='core:ConsumptionTariff3State', type='ContinuousState', values=None), StateDefinition(qualified_name='core:ConsumptionTariff4State', type='ContinuousState', values=None), StateDefinition(qualified_name='core:ConsumptionTariff5State', type='ContinuousState', values=None), StateDefinition(qualified_name='core:ConsumptionTariff6State', type='ContinuousState', values=None), StateDefinition(qualified_name='core:ConsumptionTariff7State', type='ContinuousState', values=None), StateDefinition(qualified_name='core:ConsumptionTariff8State', type='ContinuousState', values=None), StateDefinition(qualified_name='core:ConsumptionTariff9State', type='ContinuousState', values=None), StateDefinition(qualified_name='core:ElectricEnergyConsumptionState', type='ContinuousState', values=None), StateDefinition(qualified_name='core:StatusState', type='DiscreteState', values=['available', 'unavailable'])], widget_name='CumulativeElectricPowerConsumptionSensor', ui_class='ElectricitySensor', qualified_name='io:DHWCumulatedElectricalEnergyConsumptionIOSystemDeviceSensor'), data_properties=None, widget='CumulativeElectricPowerConsumptionSensor', ui_class='ElectricitySensor', states=States(_states=[State(name='core:StatusState', type=<DataType.STRING: 3>, value='available'), State(name='core:ElectricEnergyConsumptionState', type=<DataType.INTEGER: 1>, value=826069)]), type=<ProductType.SENSOR: 2>, place_oid='453f4432-2676-478a-b0b8-4ffabb371307'))
2022-01-14 16:25:45 DEBUG (MainThread) [custom_components.tahoma] Added gateway (Gateway(partners=[], functions='INTERNET_AUTHORIZATION,SCENARIO_DOWNLOAD,SCENARIO_AUTO_LAUNCHING,SCENARIO_TELECO_LAUNCHING,INTERNET_UPLOAD,INTERNET_UPDATE,TRIGGERS_SENSORS', sub_type=None, id=****-****-7969, gateway_id=NOTHING, alive=True, mode='ACTIVE', place_oid='453f4432-2676-478a-b0b8-4ffabb371307', time_reliable=True, connectivity=Connectivity(status='OK', protocol_version='2021.5.4'), up_to_date=True, update_status=<UpdateBoxStatus.UP_TO_DATE: 'UP_TO_DATE'>, sync_in_progress=False, type=<GatewayType.COZYTOUCH: 32>))
2022-01-14 16:26:15 DEBUG (MainThread) [custom_components.tahoma] Finished fetching device events data in 0.180 seconds (success: True)
2022-01-14 16:26:45 DEBUG (MainThread) [custom_components.tahoma] Finished fetching device events data in 0.161 seconds (success: True)
2022-01-14 16:27:15 DEBUG (MainThread) [custom_components.tahoma] Finished fetching device events data in 0.190 seconds (success: True)
gbuico commented 2 years ago

Hi @tetienne , any news or something I can help with?

vlebourl commented 2 years ago

Hi, sorry for not being very active the last days. We are very actively working on getting the custom component integrated into core. Unfortunately, I don't think DHWP will make it this round. I'll try to take a look at this this evening.

@tetienne and @iMicknl, we have another issue with DHWP that we may resolve at the same time: #617 for reference this device is io:AtlanticDomesticHotWaterProductionV2_CE_FLAT_C2_IOComponent

617 also refers to io:AtlanticDomesticHotWaterProductionV2_MURAL_IOComponent.

My own version of the V2_CE_FLAT_C2_IOComponent has min 2 showers and max 4, which has been hard coded here: https://github.com/iMicknl/ha-tahoma/blob/fc3a51f3474fbc8a4e704535198d44bb1edc4a0c/custom_components/tahoma/number.py#L27

We need to use those:

State(name='core:MinimalShowerManualModeState', type=<DataType.INTEGER: 1>, value=1)
State(name='core:MaximalShowerManualModeState', type=<DataType.INTEGER: 1>, value=3)
tetienne commented 2 years ago

@gbuico Sorry indeed for the delay, and thx @vlebourl for pointing the State to look for.

I checked the other devices you linked and indeed, they used the same State for min and max values:

{
  "commands": [
    {
      "commandName": "advancedRefresh",
      "nparams": 1
    },
    {
      "commandName": "delayedStopIdentify",
      "nparams": 1
    },
    {
      "commandName": "getName",
      "nparams": 0
    },
    {
      "commandName": "identify",
      "nparams": 0
    },
    {
      "commandName": "refreshAbsenceEndDate",
      "nparams": 0
    },
    {
      "commandName": "refreshAbsenceMode",
      "nparams": 0
    },
    {
      "commandName": "refreshAbsenceStartDate",
      "nparams": 0
    },
    {
      "commandName": "refreshBoostEndDate",
      "nparams": 0
    },
    {
      "commandName": "refreshBoostMode",
      "nparams": 0
    },
    {
      "commandName": "refreshBoostStartDate",
      "nparams": 0
    },
    {
      "commandName": "refreshBottomTankWaterTemperature",
      "nparams": 0
    },
    {
      "commandName": "refreshManufacturerName",
      "nparams": 0
    },
    {
      "commandName": "refreshMiddleWaterTemperatureIn",
      "nparams": 0
    },
    {
      "commandName": "refreshTargetTemperature",
      "nparams": 0
    },
    {
      "commandName": "refreshWaterConsumption",
      "nparams": 0
    },
    {
      "commandName": "refreshWaterTargetTemperature",
      "nparams": 0
    },
    {
      "commandName": "refreshWaterTemperature",
      "nparams": 0
    },
    {
      "commandName": "setAbsenceEndDate",
      "nparams": 1
    },
    {
      "commandName": "setAbsenceMode",
      "nparams": 1
    },
    {
      "commandName": "setAbsenceStartDate",
      "nparams": 1
    },
    {
      "commandName": "setBoostEndDate",
      "nparams": 1
    },
    {
      "commandName": "setBoostMode",
      "nparams": 1
    },
    {
      "commandName": "setBoostStartDate",
      "nparams": 1
    },
    {
      "commandName": "setComfortTargetTemperature",
      "nparams": 1
    },
    {
      "commandName": "setDateTime",
      "nparams": 1
    },
    {
      "commandName": "setEcoTargetTemperature",
      "nparams": 1
    },
    {
      "commandName": "setExpectedNumberOfShower",
      "nparams": 1
    },
    {
      "commandName": "setFrostProtectionTargetTemperature",
      "nparams": 1
    },
    {
      "commandName": "setName",
      "nparams": 1
    },
    {
      "commandName": "setTargetDHWTemperature",
      "nparams": 1
    },
    {
      "commandName": "setTargetTemperature",
      "nparams": 1
    },
    {
      "commandName": "setWaterTargetTemperature",
      "nparams": 1
    },
    {
      "commandName": "setWaterTemperature",
      "nparams": 1
    },
    {
      "commandName": "startIdentify",
      "nparams": 0
    },
    {
      "commandName": "stopIdentify",
      "nparams": 0
    },
    {
      "commandName": "wink",
      "nparams": 1
    },
    {
      "commandName": "refreshExpectedNumberOfShower",
      "nparams": 0
    },
    {
      "commandName": "pairOneWayController",
      "nparams": 2
    },
    {
      "commandName": "refreshAntiLegionellosis",
      "nparams": 0
    },
    {
      "commandName": "refreshAwayModeDuration",
      "nparams": 0
    },
    {
      "commandName": "refreshBoilerInstallationOption",
      "nparams": 0
    },
    {
      "commandName": "refreshBoostModeDuration",
      "nparams": 0
    },
    {
      "commandName": "refreshCurrentOperatingMode",
      "nparams": 0
    },
    {
      "commandName": "refreshDHWCapacity",
      "nparams": 0
    },
    {
      "commandName": "refreshDHWError",
      "nparams": 0
    },
    {
      "commandName": "refreshDHWMode",
      "nparams": 0
    },
    {
      "commandName": "refreshElectricalExtraManagement",
      "nparams": 0
    },
    {
      "commandName": "refreshExtractionOption",
      "nparams": 0
    },
    {
      "commandName": "refreshInstallation",
      "nparams": 0
    },
    {
      "commandName": "refreshMiddleWaterTemperature",
      "nparams": 0
    },
    {
      "commandName": "refreshOperatingModeCapabilities",
      "nparams": 0
    },
    {
      "commandName": "refreshOperatingRange",
      "nparams": 0
    },
    {
      "commandName": "refreshOperatingTime",
      "nparams": 0
    },
    {
      "commandName": "refreshProgrammingSlots",
      "nparams": 0
    },
    {
      "commandName": "refreshRateManagement",
      "nparams": 0
    },
    {
      "commandName": "refreshSmartGridOption",
      "nparams": 0
    },
    {
      "commandName": "setAntiLegionellosis",
      "nparams": 1
    },
    {
      "commandName": "setAwayModeDuration",
      "nparams": 1
    },
    {
      "commandName": "setBoilerInstallationOption",
      "nparams": 1
    },
    {
      "commandName": "setBoostModeDuration",
      "nparams": 1
    },
    {
      "commandName": "setCurrentOperatingMode",
      "nparams": 1
    },
    {
      "commandName": "setDHWMode",
      "nparams": 1
    },
    {
      "commandName": "setElectricalExtraManagement",
      "nparams": 1
    },
    {
      "commandName": "setExtractionOption",
      "nparams": 1
    },
    {
      "commandName": "setHaltedTargetTemperature",
      "nparams": 1
    },
    {
      "commandName": "setInstallation",
      "nparams": 1
    },
    {
      "commandName": "setOperatingRange",
      "nparams": 1
    },
    {
      "commandName": "setProgrammingSlots",
      "nparams": 1
    },
    {
      "commandName": "setRateManagement",
      "nparams": 1
    },
    {
      "commandName": "setSmartGridOption",
      "nparams": 1
    },
    {
      "commandName": "unpairAllOneWayControllers",
      "nparams": 0
    },
    {
      "commandName": "unpairOneWayController",
      "nparams": 2
    }
  ],
  "states": [
    {
      "type": "DataState",
      "qualifiedName": "core:AbsenceEndDateState"
    },
    {
      "type": "DataState",
      "qualifiedName": "core:AbsenceStartDateState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:BoostElectricPowerConsumptionState"
    },
    {
      "type": "DataState",
      "qualifiedName": "core:BoostEndDateState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:BoostModeDurationState"
    },
    {
      "type": "DataState",
      "qualifiedName": "core:BoostStartDateState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:BottomTankWaterTemperatureState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:ComfortTargetTemperatureState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:ControlWaterTargetTemperatureState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:DHWPSoftwareVersionState"
    },
    {
      "type": "DataState",
      "qualifiedName": "core:DateTimeState"
    },
    {
      "type": "DiscreteState",
      "values": [
        "good",
        "low",
        "normal",
        "verylow"
      ],
      "qualifiedName": "core:DiscreteRSSILevelState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:EcoTargetTemperatureState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:ExpectedNumberOfShowerState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:FrostProtectionTargetTemperatureState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:HaltedTargetTemperatureState"
    },
    {
      "type": "DataState",
      "qualifiedName": "core:HeatingStatusState"
    },
    {
      "type": "DataState",
      "qualifiedName": "core:ManufacturerNameState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:MaximalShowerManualModeState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:MaximalTemperatureManualModeState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:MiddleWaterTemperatureInState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:MinimalShowerManualModeState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:MinimalTemperatureManualModeState"
    },
    {
      "type": "DataState",
      "qualifiedName": "core:NameState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:NumberOfShowerRemainingState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:NumberOfTankState"
    },
    {
      "type": "DiscreteState",
      "values": [
        "antifreeze",
        "auto",
        "away",
        "eco",
        "frostprotection",
        "manual",
        "max",
        "normal",
        "off",
        "on",
        "prog",
        "program",
        "boost"
      ],
      "qualifiedName": "core:OperatingModeState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:PowerHeatElectricalInState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:PriorityLockTimerState"
    },
    {
      "type": "DataState",
      "qualifiedName": "core:ProgrammingAvailableState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:RSSILevelState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:SecuredPositionTemperatureState"
    },
    {
      "type": "DiscreteState",
      "values": [
        "available",
        "unavailable"
      ],
      "qualifiedName": "core:StatusState"
    },
    {
      "type": "DataState",
      "qualifiedName": "core:StopRelaunchState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:TargetDHWTemperatureState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:TargetTemperatureState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:TemperatureState"
    },
    {
      "type": "DataState",
      "qualifiedName": "core:V40WaterVolumeEstimationState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:VersionState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:WaterConsumptionState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:WaterTargetTemperatureState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:WaterTemperatureState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "io:AntiLegionellosisState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "io:AwayModeDurationState"
    },
    {
      "type": "DiscreteState",
      "values": [
        "boilerOptimising",
        "boilerPriority",
        "heatPumpOptimising",
        "heatPumpPriority"
      ],
      "qualifiedName": "io:BoilerInstallationOptionState"
    },
    {
      "type": "DiscreteState",
      "values": [
        "off",
        "on",
        "prog"
      ],
      "qualifiedName": "io:DHWAbsenceModeState"
    },
    {
      "type": "DiscreteState",
      "values": [
        "off",
        "on",
        "prog"
      ],
      "qualifiedName": "io:DHWBoostModeState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "io:DHWCapacityState"
    },
    {
      "type": "DataState",
      "qualifiedName": "io:DHWErrorState"
    },
    {
      "type": "DiscreteState",
      "values": [
        "autoMode",
        "manualEcoActive",
        "manualEcoInactive"
      ],
      "qualifiedName": "io:DHWModeState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "io:ElectricBoosterOperatingTimeState"
    },
    {
      "type": "DiscreteState",
      "values": [
        "auto",
        "deactive"
      ],
      "qualifiedName": "io:ElectricalExtraManagementState"
    },
    {
      "type": "DiscreteState",
      "values": [
        "fastExtractionSpeed",
        "lowExtractionSpeed",
        "noExtraction"
      ],
      "qualifiedName": "io:ExtractionOptionState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "io:HeatPumpOperatingTimeState"
    },
    {
      "type": "DiscreteState",
      "values": [
        "extraBoiler",
        "extraSolar",
        "onlyThermodynamic"
      ],
      "qualifiedName": "io:InstallationState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "io:MiddleWaterTemperatureState"
    },
    {
      "type": "DataState",
      "qualifiedName": "io:OperatingModeCapabilitiesState"
    },
    {
      "type": "DiscreteState",
      "values": [
        "pac24h_elec24h",
        "pacProg_elecProg"
      ],
      "qualifiedName": "io:OperatingRangeState"
    },
    {
      "type": "DataState",
      "qualifiedName": "io:PowerConsumptionFanState"
    },
    {
      "type": "DataState",
      "qualifiedName": "io:PowerHeatElectricalState"
    },
    {
      "type": "DataState",
      "qualifiedName": "io:PowerHeatPumpState"
    },
    {
      "type": "DiscreteState",
      "values": [
        "comfortLevel1",
        "comfortLevel2",
        "comfortLevel3",
        "comfortLevel4",
        "environmentProtection",
        "humanProtection",
        "userLevel1",
        "userLevel2"
      ],
      "qualifiedName": "io:PriorityLockLevelState"
    },
    {
      "type": "DiscreteState",
      "values": [
        "LSC",
        "SAAC",
        "SFC",
        "UPS",
        "externalGateway",
        "localUser",
        "myself",
        "rain",
        "security",
        "temperature",
        "timer",
        "user",
        "wind"
      ],
      "qualifiedName": "io:PriorityLockOriginatorState"
    },
    {
      "type": "DataState",
      "qualifiedName": "io:ProgrammingSlotsState"
    },
    {
      "type": "DiscreteState",
      "values": [
        "forbidden",
        "no",
        "recommended",
        "unsuitable",
        "wanted"
      ],
      "qualifiedName": "io:RateManagementState"
    },
    {
      "type": "DiscreteState",
      "values": [
        "active",
        "deactive"
      ],
      "qualifiedName": "io:SmartGridOptionState"
    }
  ],
  "dataProperties": [
    {
      "value": "500",
      "qualifiedName": "core:identifyInterval"
    }
  ],
  "widgetName": "DomesticHotWaterProduction",
  "uiProfiles": [
    "StatefulDHWThermostat",
    "DHWThermostat",
    "StatefulThermostatWithSensor",
    "StatefulThermostat",
    "Thermostat",
    "WaterConsumption"
  ],
  "uiClass": "WaterHeatingSystem",
  "qualifiedName": "io:AtlanticDomesticHotWaterProductionV2_CE_FLAT_C2_IOComponent",
  "type": "ACTUATOR"
}
{
  "commands": [
    {
      "commandName": "advancedRefresh",
      "nparams": 1
    },
    {
      "commandName": "delayedStopIdentify",
      "nparams": 1
    },
    {
      "commandName": "getName",
      "nparams": 0
    },
    {
      "commandName": "identify",
      "nparams": 0
    },
    {
      "commandName": "refreshManufacturerName",
      "nparams": 0
    },
    {
      "commandName": "refreshTargetTemperature",
      "nparams": 0
    },
    {
      "commandName": "refreshWaterConsumption",
      "nparams": 0
    },
    {
      "commandName": "setComfortTargetTemperature",
      "nparams": 1
    },
    {
      "commandName": "setDateTime",
      "nparams": 1
    },
    {
      "commandName": "setEcoTargetTemperature",
      "nparams": 1
    },
    {
      "commandName": "setFrostProtectionTargetTemperature",
      "nparams": 1
    },
    {
      "commandName": "setName",
      "nparams": 1
    },
    {
      "commandName": "setTargetTemperature",
      "nparams": 1
    },
    {
      "commandName": "startIdentify",
      "nparams": 0
    },
    {
      "commandName": "stopIdentify",
      "nparams": 0
    },
    {
      "commandName": "wink",
      "nparams": 1
    },
    {
      "commandName": "pairOneWayController",
      "nparams": 2
    },
    {
      "commandName": "refreshAntiLegionellosis",
      "nparams": 0
    },
    {
      "commandName": "refreshAwayModeDuration",
      "nparams": 0
    },
    {
      "commandName": "refreshBoilerInstallationOption",
      "nparams": 0
    },
    {
      "commandName": "refreshBoostModeDuration",
      "nparams": 0
    },
    {
      "commandName": "refreshCurrentOperatingMode",
      "nparams": 0
    },
    {
      "commandName": "refreshDHWCapacity",
      "nparams": 0
    },
    {
      "commandName": "refreshDHWError",
      "nparams": 0
    },
    {
      "commandName": "refreshDHWMode",
      "nparams": 0
    },
    {
      "commandName": "refreshElectricalExtraManagement",
      "nparams": 0
    },
    {
      "commandName": "refreshExtractionOption",
      "nparams": 0
    },
    {
      "commandName": "refreshInstallation",
      "nparams": 0
    },
    {
      "commandName": "refreshMiddleWaterTemperature",
      "nparams": 0
    },
    {
      "commandName": "refreshOperatingModeCapabilities",
      "nparams": 0
    },
    {
      "commandName": "refreshOperatingRange",
      "nparams": 0
    },
    {
      "commandName": "refreshOperatingTime",
      "nparams": 0
    },
    {
      "commandName": "refreshProgrammingSlots",
      "nparams": 0
    },
    {
      "commandName": "refreshRateManagement",
      "nparams": 0
    },
    {
      "commandName": "refreshSmartGridOption",
      "nparams": 0
    },
    {
      "commandName": "setAntiLegionellosis",
      "nparams": 1
    },
    {
      "commandName": "setAwayModeDuration",
      "nparams": 1
    },
    {
      "commandName": "setBoilerInstallationOption",
      "nparams": 1
    },
    {
      "commandName": "setBoostModeDuration",
      "nparams": 1
    },
    {
      "commandName": "setCurrentOperatingMode",
      "nparams": 1
    },
    {
      "commandName": "setDHWMode",
      "nparams": 1
    },
    {
      "commandName": "setElectricalExtraManagement",
      "nparams": 1
    },
    {
      "commandName": "setExtractionOption",
      "nparams": 1
    },
    {
      "commandName": "setHaltedTargetTemperature",
      "nparams": 1
    },
    {
      "commandName": "setInstallation",
      "nparams": 1
    },
    {
      "commandName": "setOperatingRange",
      "nparams": 1
    },
    {
      "commandName": "setProgrammingSlots",
      "nparams": 1
    },
    {
      "commandName": "setRateManagement",
      "nparams": 1
    },
    {
      "commandName": "setSmartGridOption",
      "nparams": 1
    },
    {
      "commandName": "unpairAllOneWayControllers",
      "nparams": 0
    },
    {
      "commandName": "unpairOneWayController",
      "nparams": 2
    }
  ],
  "states": [
    {
      "type": "ContinuousState",
      "qualifiedName": "core:BoostModeDurationState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:ComfortTargetTemperatureState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:DHWPSoftwareVersionState"
    },
    {
      "type": "DataState",
      "qualifiedName": "core:DateTimeState"
    },
    {
      "type": "DiscreteState",
      "values": [
        "good",
        "low",
        "normal",
        "verylow"
      ],
      "qualifiedName": "core:DiscreteRSSILevelState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:EcoTargetTemperatureState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:FrostProtectionTargetTemperatureState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:HaltedTargetTemperatureState"
    },
    {
      "type": "DataState",
      "qualifiedName": "core:ManufacturerNameState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:MaximalShowerManualModeState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:MaximalTemperatureManualModeState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:MinimalShowerManualModeState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:MinimalTemperatureManualModeState"
    },
    {
      "type": "DataState",
      "qualifiedName": "core:NameState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:NumberOfTankState"
    },
    {
      "type": "DiscreteState",
      "values": [
        "antifreeze",
        "auto",
        "away",
        "eco",
        "frostprotection",
        "manual",
        "max",
        "normal",
        "off",
        "on",
        "prog",
        "program",
        "boost"
      ],
      "qualifiedName": "core:OperatingModeState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:PriorityLockTimerState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:RSSILevelState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:SecuredPositionTemperatureState"
    },
    {
      "type": "DiscreteState",
      "values": [
        "available",
        "unavailable"
      ],
      "qualifiedName": "core:StatusState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:TargetTemperatureState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:TemperatureState"
    },
    {
      "type": "DataState",
      "qualifiedName": "core:V40WaterVolumeEstimationState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:VersionState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "core:WaterConsumptionState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "io:AntiLegionellosisState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "io:AwayModeDurationState"
    },
    {
      "type": "DiscreteState",
      "values": [
        "boilerOptimising",
        "boilerPriority",
        "heatPumpOptimising",
        "heatPumpPriority"
      ],
      "qualifiedName": "io:BoilerInstallationOptionState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "io:DHWCapacityState"
    },
    {
      "type": "DataState",
      "qualifiedName": "io:DHWErrorState"
    },
    {
      "type": "DiscreteState",
      "values": [
        "autoMode",
        "manualEcoActive",
        "manualEcoInactive"
      ],
      "qualifiedName": "io:DHWModeState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "io:ElectricBoosterOperatingTimeState"
    },
    {
      "type": "DiscreteState",
      "values": [
        "auto",
        "deactive"
      ],
      "qualifiedName": "io:ElectricalExtraManagementState"
    },
    {
      "type": "DiscreteState",
      "values": [
        "fastExtractionSpeed",
        "lowExtractionSpeed",
        "noExtraction"
      ],
      "qualifiedName": "io:ExtractionOptionState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "io:HeatPumpOperatingTimeState"
    },
    {
      "type": "DiscreteState",
      "values": [
        "extraBoiler",
        "extraSolar",
        "onlyThermodynamic"
      ],
      "qualifiedName": "io:InstallationState"
    },
    {
      "type": "ContinuousState",
      "qualifiedName": "io:MiddleWaterTemperatureState"
    },
    {
      "type": "DataState",
      "qualifiedName": "io:OperatingModeCapabilitiesState"
    },
    {
      "type": "DiscreteState",
      "values": [
        "pac24h_elec24h",
        "pacProg_elecProg"
      ],
      "qualifiedName": "io:OperatingRangeState"
    },
    {
      "type": "DataState",
      "qualifiedName": "io:PowerConsumptionFanState"
    },
    {
      "type": "DataState",
      "qualifiedName": "io:PowerHeatElectricalState"
    },
    {
      "type": "DataState",
      "qualifiedName": "io:PowerHeatPumpState"
    },
    {
      "type": "DiscreteState",
      "values": [
        "comfortLevel1",
        "comfortLevel2",
        "comfortLevel3",
        "comfortLevel4",
        "environmentProtection",
        "humanProtection",
        "userLevel1",
        "userLevel2"
      ],
      "qualifiedName": "io:PriorityLockLevelState"
    },
    {
      "type": "DiscreteState",
      "values": [
        "LSC",
        "SAAC",
        "SFC",
        "UPS",
        "externalGateway",
        "localUser",
        "myself",
        "rain",
        "security",
        "temperature",
        "timer",
        "user",
        "wind"
      ],
      "qualifiedName": "io:PriorityLockOriginatorState"
    },
    {
      "type": "DataState",
      "qualifiedName": "io:ProgrammingSlotsState"
    },
    {
      "type": "DiscreteState",
      "values": [
        "forbidden",
        "no",
        "recommended",
        "unsuitable",
        "wanted"
      ],
      "qualifiedName": "io:RateManagementState"
    },
    {
      "type": "DiscreteState",
      "values": [
        "active",
        "deactive"
      ],
      "qualifiedName": "io:SmartGridOptionState"
    }
  ],
  "dataProperties": [
    {
      "value": "500",
      "qualifiedName": "core:identifyInterval"
    }
  ],
  "widgetName": "DomesticHotWaterProduction",
  "uiProfiles": [
    "StatefulThermostatWithSensor",
    "StatefulThermostat",
    "Thermostat",
    "WaterConsumption"
  ],
  "uiClass": "WaterHeatingSystem",
  "qualifiedName": "io:AtlanticDomesticHotWaterProductionV2_MURAL_IOComponent",
  "type": "ACTUATOR"
}
gbuico commented 2 years ago

Thanks to both... I think it's obvious but I manually changed in number.py min_value=1, max_value=3

made a restart and everything works fine.... Thanks for the hint ... good transition till I get the official fix. Have a nice day

Giacomo

github-actions[bot] commented 2 years ago

'There hasn't been any activity on this issue recently. Is this issue still present? Please make sure to update to the latest Home Assistant version and version of this integration to see if that solves the issue. Let us know if that works for you by adding a comment đź‘Ť. This issue now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.'

gbuico commented 2 years ago

The current versions of this integration are still affected, so the issue should remain open until solved

Enjoy-Combi commented 2 years ago

Hi,

I have a Atlantic DHWP and the cozytouch integration managing it. Most of the time the Absencemode is not taking into account. I switch it absence and it automatically switch off after a while. Might it be due to a wrong value of min_value & max_value like gbuico had ?

github-actions[bot] commented 2 years ago

'There hasn't been any activity on this issue recently. Is this issue still present? Please make sure to update to the latest Home Assistant version and version of this integration to see if that solves the issue. Let us know if that works for you by adding a comment đź‘Ť. This issue now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.'

yanuino commented 2 years ago

Water heaters need many improvements about managing min,max values and modes (boost, absence, eco and eco+). This issue should remain open to keep them in mind.

vlebourl commented 2 years ago

You're right, and help would be very much appriciated if anyone is interested ;-)

samourai64 commented 2 years ago

Hello I have some problem with my integration I open an issue (807). My DHWP is an Atlantic lineo with wifi integrated. But i haven't all entities.. What is your DHWP model Thank's

iMicknl commented 1 year ago

This device has been added to core by @nyrodev. Please update to the beta of 2022.12.0 (release tomorrow) or wait until the release. Then switch to the Overkiz integration from core, remove ha-tahoma.

If something is not working, please create an issue on the core repository.

gbuico commented 1 year ago

Hi, I'm sorry to say that the original problem is still there. I totally removed the device, removed the old integration and redefined from scratch using the core Overkiz integration. Everything went fine but... I still have a minimum of 2 and a max of 4 as I had before, while the range of my heater is 1 to 3. In addition, now when I try to change the number of expected showers the entity goes to unavailable for some time. I'm ready to provide whatever additional info you need Giacomo

tetienne commented 1 year ago

@gbuico Sorry, that’s not relevant to your issue, but as I saw you own a device with a particular State, I ping you. In your case, the WaterConsumptionState is a total of your consumption or a total increase of the consumption? See https://developers.home-assistant.io/docs/core/entity/sensor#available-state-classes

I will have a look to your issue. I have now fixed issue that’s can help to solve your case.

gbuico commented 1 year ago

image

@tetienne , frankly I never checked it before but the entity you mention is not for sure a total consumption (see history attached) but I'm find hard to understand what it is because the unit of measurement is liters but the values range between 65 and 143... while the capacity of the unit is 65 liter (Thermor Malicio 2 65L) May be it tells you something.. Anyway... I'm always here if you need other info