Hello, I just moved from Hassbian to HassOS 3.13 and I have a problem. I have a Bluetooth light that I can control through a phython script that I wrote. With hassbian I could easily control the light through the following:
- platform: command_line
switches:
chsmart_light:
friendly_name: "CHSmart"
command_on: "python3.7 CHSmart.py 'on'"
command_off: "python3.7 CHSmart.py 'off'"
Unfortunately now with HassOS when I try to run the script I get an import error because the module Bluetooth is not installed (pybluez) and I can’t find a way to add it (I tried to connect via ssh and add it through pip but it didn’t work either).
Do you have any advice or better way to do it?
Thank you so much!