[Resolved] Obihai: KeyError: 'reboot_req'

Anyone with knowledge on Obihai integration? I get this error during HA boot:

Error while setting up obihai platform for sensor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 199, in _async_setup_platform
    await asyncio.shield(task)
  File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/obihai/sensor.py", line 53, in setup_platform
    services = pyobihai.get_state()
  File "/usr/local/lib/python3.8/site-packages/pyobihai/__init__.py", line 35, in get_state
    if models.attrib["reboot_req"]:
KeyError: 'reboot_req'

My config is this:

# Misc. Virtual Sensors
sensor:

#   Obihai
  - platform: obihai
    host: 192.168.1.175
    username: admin
    password: !secret obihai

And yes, I triple-checked the password. I can direct logon in Obihai web page without any problem, with the info above.

My Obi is quite old (Obi110), maybe this device isn’t supported?

Thanks in advance!

Looks like report_req isn’t one of the attributes in your model. You should create an issue in home-assistant/core.

@KTibow, thanks, issue created: