Did a rebase of the service_calls and testing it, results in:
2021-03-05 11:44:36 ERROR (MainThread) [asyncio] Unhandled error in exception handler
context: {'message': 'Exception in callback SerialTransport._read_ready()', 'exception': ValueError('Invalid parameter values for command: RQ --- 18:000730 10:040239 --:------ RQ --- 18:000730 01:223036 --:------ 3220 005 00807C0000 001 00'), 'handle': <Handle SerialTransport._read_ready()>}
Traceback (most recent call last):
File "/usr/local/lib/python3.8/asyncio/base_events.py", line 1744, in call_exception_handler
self._exception_handler(self, context)
File "/usr/local/lib/python3.8/site-packages/evohome_rf/__init__.py", line 129, in handle_exception
raise exc
File "/usr/local/lib/python3.8/asyncio/events.py", line 81, in _run
self._context.run(self._callback, *self._args)
File "/usr/local/lib/python3.8/site-packages/serial_asyncio/__init__.py", line 119, in _read_ready
self._protocol.data_received(data)
File "/usr/local/lib/python3.8/site-packages/evohome_rf/transport.py", line 409, in data_received
self._data_received(*create_pkt(line))
File "/usr/local/lib/python3.8/site-packages/evohome_rf/transport.py", line 664, in _data_received
self._callback(pkt) # only wanted PKTs up to the MSG transport's handler
File "/usr/local/lib/python3.8/site-packages/evohome_rf/protocol.py", line 171, in _pkt_receiver
[p.data_received(msg) for p in self._protocols]
File "/usr/local/lib/python3.8/site-packages/evohome_rf/protocol.py", line 171, in <listcomp>
[p.data_received(msg) for p in self._protocols]
File "/usr/local/lib/python3.8/site-packages/evohome_rf/protocol.py", line 402, in data_received
self._callback(msg)
File "/usr/local/lib/python3.8/site-packages/evohome_rf/message.py", line 575, in process_msg
create_devices(msg) # from pkt header & from msg payload (e.g. 000C)
File "/usr/local/lib/python3.8/site-packages/evohome_rf/message.py", line 391, in create_devices
this._gwy._get_device(this.dst, ctl_addr=this.src)
File "/usr/local/lib/python3.8/site-packages/evohome_rf/__init__.py", line 230, in _get_device
device = create_device(dev_addr, ctl=ctl, domain_id=domain_id)
File "/usr/local/lib/python3.8/site-packages/evohome_rf/__init__.py", line 211, in create_device
device._discover() # discover_flag=DISCOVER_ALL)
File "/usr/local/lib/python3.8/site-packages/evohome_rf/devices.py", line 745, in _discover
self._send_cmd(Command.get_opentherm_msg(self._ctl.id, msg_id))
File "/usr/local/lib/python3.8/site-packages/evohome_rf/devices.py", line 192, in _send_cmd
super()._send_cmd(code, dest, payload, **kwargs)
File "/usr/local/lib/python3.8/site-packages/evohome_rf/devices.py", line 87, in _send_cmd
Command(kwargs.pop("verb", "RQ"), dest, code, payload, **kwargs)
File "/usr/local/lib/python3.8/site-packages/evohome_rf/command.py", line 125, in __init__
raise ValueError(f"Invalid parameter values for command: {self}")