ttolttol2 / hass-flair-puck

Home Assistant component for Flair puck
9 stars 1 forks source link

Platform error sensor.flair - No module named 'flair_api' #3

Closed namnnumbr closed 4 years ago

namnnumbr commented 4 years ago

I'm running HASSIO on a Raspberry Pi 4b.

I've installed your package in config/custom_components/flair, and have added the sensor with api id and key to my config file. However, I get the error that there's "no module named 'flair_api'".

I'm hoping you can point me in the right direction to figure out how to link my Flair puck.

Thanks for making this available!

namnnumbr commented 4 years ago

Resolved.

Copied files from Flair API into custom_components/flair and modified line 11 of your sensor.py to read "from .client import make_client" instead of "from flair_api import make_client".