Error while setting up sonoff platform for switch
See original GitHub issueHome assistant: 0.109.6
HASS OS: no
SLOW_SETUP_MAX_WAIT
TypeError: string indices must be integers
Source: custom_components/sonoff/__init__.py:516
Integration: Switch (documentation, issues)
First occurred: 6:14:13 AM (1 occurrences)
Last logged: 6:14:13 AM
Error while setting up sonoff platform for switch
Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 178, in _async_setup_platform await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT) File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for return fut.result() File "/config/custom_components/sonoff/switch.py", line 15, in async_setup_platform outlets_number = hass.data[SONOFF_DOMAIN].get_outlets(device) File "/config/custom_components/sonoff/__init__.py", line 516, in get_outlets if device['uiid'] in uiid_to_name.keys() and \ TypeError: string indices must be integers ```
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Sonoff /eWeLink component for original firmware
Hello,. i have problem with HASSIO 0.84.3 and component. I try it, but still error. 2018-12-22 16:02:40 WARNING (MainThread) ...
Read more >SONOFF DIY developer documentation
Do you want to control the SONOFF device via your own app or home automation platform? DIY Mode helps! The DIY Mode is...
Read more >Reprogram Sonoff Smart Switch Web Server
In this post, you're going to learn how to flash custom firmware in the Sonoff device, so that you can control it with...
Read more >eWeLink - Smart Home - Apps on Google Play
One app, countless devices eWeLink is the app platform that supports multiple brands of smart devices including SONOFF. It enables connections between ...
Read more >Can Sonoff work with Home Assistant? - Home Tech Time
Smart switch are a nice to have when they work in isolation (e.g. switch lights on ... The first approach is to setup...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

it’ll have to wait now…
Also looks like some changes are coming down the pipe (of course!) Home Assistant 0.110.0b1 HASSIO: No