Pilight yaml configuration probem

Please check the pilight switch bugfix. This howto will not work under Windows out of the box.

  1. You need to go to to the homeassistant/components/switch folder. If you checked out the code using git then this is easy and you should now where the code is ;-). If you installed home-assistant via pip install homeassistant or python setup.py install you have to search for this folder in your site-package path of your python distribution. To get the location of the site-package folder type:
    python -c 'from distutils.sysconfig import get_python_lib; print(get_python_lib())'
    In the site-package you should see the homeassistant/components/switch folder

  2. Within the homeassistant/components/switch folder run:
    wget https://raw.githubusercontent.com/DavidLP/home-assistant/dev/homeassistant/components/switch/pilight.py to overwrite your file with the fixed one.

  3. Restart hass and check if devices work. Thanks!

1 Like