File tree Expand file tree Collapse file tree 4 files changed +1529
-0
lines changed
Expand file tree Collapse file tree 4 files changed +1529
-0
lines changed Original file line number Diff line number Diff line change 7070 "REG_OPERATIONAL_STATUS_PRIO1" # Operational status for most heat pumps
7171)
7272COMP_STATUS = "COMP_STATUS" # Operational status for Diplomat heat pumps
73+ COMP_STATUS_ATEC = "COMP_STATUS_ATEC" # Operational status for ATEC heat pumps
7374COMP_STATUS_ITEC = "COMP_STATUS_ITEC" # Operational status for ITEC heat pumps
7475REG_OPERATIONAL_STATUS_PRIORITY_BITMASK = (
7576 "REG_OPERATIONAL_STATUS_PRIORITY_BITMASK" # Operational status for Atlas heat pumps
Original file line number Diff line number Diff line change 3030 REG_RETURN_LINE ,
3131 COMP_POWER_STATUS ,
3232 COMP_STATUS ,
33+ COMP_STATUS_ATEC ,
3334 COMP_STATUS_ITEC ,
3435 REG_SUPPLY_LINE ,
3536 DATETIME_FORMAT ,
@@ -380,6 +381,13 @@ def __get_operational_statuses_from_operational_status(self) -> Optional[Dict]:
380381 )
381382 return data .get ("valueNames" , [])
382383
384+ # Try to get the data from the COMP_STATUS_ATEC register
385+ data = self .__get_register_from_operational_status (COMP_STATUS_ATEC )
386+ if data is not None :
387+ self .__device_config ["operational_status_register" ] = COMP_STATUS_ATEC
388+ self .__device_config ["operational_status_valueNamePrefix" ] = "COMP_VALUE_"
389+ return data .get ("valueNames" , [])
390+
383391 # Try to get the data from the COMP_STATUS_ITEC register
384392 data = self .__get_register_from_operational_status (COMP_STATUS_ITEC )
385393 if data is not None :
You can’t perform that action at this time.
0 commit comments