eavanvalkenburg / pysiaalarm

A python package to connect to a SIA DC-09 based alarm system.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

line could not be parsed as a SIAEvent

scorbacella opened this issue · comments

Hi Eduard,
I just updated to the 5.0. beta 1.
Now I get this error when HA receives the message:

2021-04-11 22:40:56 DEBUG (MainThread) [pysiaalarm.base_server] Incoming line: 9618004D"SIA-DCS"7960L0#123456[#123456|Nri1CL0^VX FRONTE ^]_22:40:48,04-11-2021
2021-04-11 22:40:56 WARNING (MainThread) [pysiaalarm.base_server] Last line could not be parsed as a SIAEvent or OHEvent, line was: 9618004D"SIA-DCS"7960L0#123456[#123456|Nri1CL0^VX FRONTE ^]_22:40:48,04-11-2021

Thanks for your help

Stefano

I added this line to the test suite and fixed something in the regex, should work now. will release a new version and also update the custom component.

Just released new version of the integration.

Hi, now I have this:
Traceback (most recent call last):
File "/config/custom_components/sia/alarm_control_panel.py", line 189, in async_handle_event
await self.assume_available()
TypeError: object NoneType can't be used in 'await' expression

sorry about that, I'm trying to keep this version in sync with the reviews for the official integration and forget one change, fixed now with b3.