Skip to content

Commit 6e346cd

Browse files
titilambertfabaff
authored andcommitted
Add note in decora light (home-assistant#2862)
* Add note in decora light * Remove some line line from the traceback
1 parent 7276ad2 commit 6e346cd

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

source/_components/light.decora.markdown

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,23 @@ Configuration variables:
3434
- **[mac address]** (*Required*): The bluetooth address of the switch.
3535
- **name** (*Optional*): The custom name to use in the frontend.
3636
- **api_key** (*Required*): The API key to acces the device.
37+
38+
<p class='note'>
39+
If you get an error looking like this:
40+
41+
```bash
42+
Jun 20 19:41:18 androlapin hass[29588]: ERROR:homeassistant.components.light:Error while setting up platform decora
43+
[...]
44+
Jun 20 19:41:18 androlapin hass[29588]: File "/usr/lib/python3.6/concurrent/futures/thread.py", line 55, in run
45+
Jun 20 19:41:18 androlapin hass[29588]: result = self.fn(*self.args, **self.kwargs)
46+
Jun 20 19:41:18 androlapin hass[29588]: File "/opt/homeassistant/custom_components/light/decora.py", line 68, in setup_platform
47+
Jun 20 19:41:18 androlapin hass[29588]: light = DecoraLight(device)
48+
[...]
49+
Jun 20 19:41:18 androlapin hass[29588]: OSError: [Errno 8] Exec format error
50+
```
51+
52+
1. Go to your `.homeassistant` folder
53+
2. Then go to `deps/bluepy` subfolder.
54+
3. Then run `make all`
55+
4. Restart home assistant
56+
</p>

0 commit comments

Comments
 (0)