Old external component and "Unable to find component"

Hello everyone!

I have little problem in HASS. I running HASS in docker at RPi3 in lasted version. I want to include external component. Unfortunately this component was written for HASS version 0.7.1. so this is prehistoric version.

If I using this manual:
https://developers.home-assistant.io/docs/en/creating_component_loading.html
HASS can see this component but not whole. Component is created by four subcomponents for PIR sensor, power switch, thermostat and light. Main component is running - can see from log where main component is communicating with usb serial gateway. But another subcomponents is not working. In log is written:
https://pastebin.com/raw/L2MwQpbu

Here is original python files from old HASS:

What I have to change for correct working?

Here is website of project unfortunately only in czech language:
https://doc.turris.cz/gadgets/start

Thank you and sorry for my english skills.

1 Like