MarkoMarjamaa / homeassistant-paxcalima

Home assistant Custom component for Pax Calima fan
Apache License 2.0
12 stars 7 forks source link

Platform error sensor.paxcalima - Integration 'paxcalima' not found. #1

Closed timbba80 closed 2 years ago

timbba80 commented 3 years ago

I'm trying to install this to Home Assistant running in raspberry 4.

Issue:

When going to server controls ->check configuration, I'm getting an error message "Platform error sensor.paxcalima - Integration 'paxcalima' not found.".

Steps done:

  1. I've copied init.py, manifest.json and sensor.py to /config/custom_components/paxcalima
  2. Reboot home assistant
  3. Include following to configuration.yaml under "sensors" (I have bunch of other platforms under sensors, which do work fine)
    • platform: paxcalima mac: xx:xx:xx:xx:xx:xx pin: xxxxxxxx
  4. Error message given for integration not found.

I do have bunch of other custom components installed, and they are working fine.

I'm running home assistant OS core-2021.9.7 in Raspb 4.

MarkoMarjamaa commented 3 years ago

This works with HA version 0.108.9. HA likes to change integration interface often so that's probably the cause. Every time they change the integration interface, every integration should also be updated. With custom integrations it is difficult. That's why because I don't update often, because I have also other custom integrations. Blame HA...

timbba80 commented 2 years ago

This can be closed, I noticed that @petrepa has created a fork, which contains updated manifest.json.

Second requirement was that calima is made available in pypi. I've now created calima package to pypi, which also takes care of the installation (without requirement to proceed with the manual steps).

So with these it should work by only copying sensor.py, manifest.json and init.py to custom_components folder, rebooting and then modifying configuration.yaml.