mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 00:36:49 +00:00
Add note in decora light (#2862)
* Add note in decora light * Remove some line line from the traceback
This commit is contained in:
parent
7276ad21ea
commit
6e346cd578
@ -34,3 +34,23 @@ Configuration variables:
|
|||||||
- **[mac address]** (*Required*): The bluetooth address of the switch.
|
- **[mac address]** (*Required*): The bluetooth address of the switch.
|
||||||
- **name** (*Optional*): The custom name to use in the frontend.
|
- **name** (*Optional*): The custom name to use in the frontend.
|
||||||
- **api_key** (*Required*): The API key to acces the device.
|
- **api_key** (*Required*): The API key to acces the device.
|
||||||
|
|
||||||
|
<p class='note'>
|
||||||
|
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
|
||||||
|
</p>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user