@nielstron - Thank you for your very nice piece of work !
Just started integration your “blnet” component to a new HA installation ( 0.118.) - python venv type installation. This device (and your work) is my real motivation to start with HA!
after I installed the PyBLNET python library and adding the files from your gitbhub repo
my configuraiton was able to start with the “blnet” components,
but when enabling “use_ta true” I get following errors: I assume something with the data ( speed sensors) I got back from my ( OLD) BLNET - Firmware version 2.19 - is different as your development environment
Traceback (most recent call last):
File "/home/homeassistant/lib/python3.8/site-packages/homeassistant/setup.py", line 213, in _async_setup_component
result = await task
File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/homeassistant/.homeassistant/custom_components/blnet/__init__.py", line 103, in setup
data = fetch_data()
File "/home/homeassistant/.homeassistant/custom_components/blnet/__init__.py", line 99, in fetch_data
File "/home/homeassistant/.homeassistant/custom_components/blnet/__init__.py", line 147, in update
data = self.blnet.fetch(self.node)
File "/home/homeassistant/lib/python3.8/site-packages/pyblnet/blnet.py", line 90, in fetch
direct = self.blnet_direct.get_latest(self.max_retries)
File "/home/homeassistant/lib/python3.8/site-packages/pyblnet/blnet_conn.py", line 328, in get_latest
File "/home/homeassistant/lib/python3.8/site-packages/pyblnet/blnet_conn.py", line 350, in _split_latest
frames[frame] = BLNETParser(data[1:LATEST_SIZE + 1])
File "/home/homeassistant/lib/python3.8/site-packages/pyblnet/blnet_parser.py", line 75, in __init__
self.speed[channel + 1] = round(
TypeError: type NoneType doesn't define __round__ method
Any ideas ?