Skip to content

Commit

Permalink
restore polling of 2401
Browse files Browse the repository at this point in the history
  • Loading branch information
zxdavb committed Jan 28, 2024
1 parent f3c2855 commit aa257ed
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ramses_rf/device/heat.py
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,9 @@ def which_cmd(use_native_ot: str, msg_id: str) -> Command | None:
self._add_discovery_cmd(
Command.from_attrs(RQ, self.id, Code._3EF0, "00"), 60
)
self._add_discovery_cmd( # NOTE: this code is a WIP
Command.from_attrs(RQ, self.id, Code._2401, "00"), 60
)

for _msg_id in SCHEMA_MSG_IDS: # From OT v2.2: version numbers
if cmd := which_cmd(self._gwy.config.use_native_ot, f"{_msg_id:02X}"):
Expand Down

0 comments on commit aa257ed

Please sign in to comment.