File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -34,3 +34,23 @@ Configuration variables:
34
34
- **[mac address]** (*Required*): The bluetooth address of the switch.
35
35
- **name** (*Optional*): The custom name to use in the frontend.
36
36
- **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>
You can’t perform that action at this time.
0 commit comments