Skip to content

Changes for supporting Elco Aerotop: - #176

Closed
burkhre2 wants to merge 3 commits into
fustom:mainfrom
burkhre2:main
Closed

burkhre2 wants to merge 3 commits into
fustom:mainfrom
burkhre2:main

Conversation

@burkhre2

Copy link
Copy Markdown
  • add access to parameter hpOn
  • add access to parameter desiredRoomTemp

burkhre2 and others added 3 commits January 1, 2026 17:48
- add access to parameter hpOn
- add access to parameter  desiredRoomTemp
Comment thread ariston/bsb_device.py
def get_measured_temp_value(self, zone: int) -> int:
"""Get zone measured temp value"""
return self.get_zone(zone).get(BsbZoneProperties.ROOM_TEMP, 0)
return self.get_zone(self.zone_numbers[0]).get(BsbZoneProperties.ROOM_TEMP, 0)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please keep the requested zone in both getters (including get_desired_room_temp_value, at line 283). Reading self.zone_numbers[0] ignores the caller's zone, and with empty data it raises IndexError; the existing test_zone_metadata_defaults_and_empty_state_setter_fallbacks expects get_measured_temp_value(8) to return 0. Use get_zone(zone) and cover an unknown zone and a second populated zone.

@astrinh0 astrinh0 closed this Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants