diff --git a/source/_components/light.decora.markdown b/source/_components/light.decora.markdown index d40acae2bac..349172fd0f8 100644 --- a/source/_components/light.decora.markdown +++ b/source/_components/light.decora.markdown @@ -34,3 +34,23 @@ Configuration variables: - **[mac address]** (*Required*): The bluetooth address of the switch. - **name** (*Optional*): The custom name to use in the frontend. - **api_key** (*Required*): The API key to acces the device. + +

+If you get an error looking like this: + +```bash +Jun 20 19:41:18 androlapin hass[29588]: ERROR:homeassistant.components.light:Error while setting up platform decora +[...] +Jun 20 19:41:18 androlapin hass[29588]: File "/usr/lib/python3.6/concurrent/futures/thread.py", line 55, in run +Jun 20 19:41:18 androlapin hass[29588]: result = self.fn(*self.args, **self.kwargs) +Jun 20 19:41:18 androlapin hass[29588]: File "/opt/homeassistant/custom_components/light/decora.py", line 68, in setup_platform +Jun 20 19:41:18 androlapin hass[29588]: light = DecoraLight(device) +[...] +Jun 20 19:41:18 androlapin hass[29588]: OSError: [Errno 8] Exec format error +``` + +1. Go to your `.homeassistant` folder +2. Then go to `deps/bluepy` subfolder. +3. Then run `make all` +4. Restart home assistant +