Closed fiservedpi closed 4 years ago
Awesome ty for the quick response sorry for the duplicate
thanks seems to be working after applying the async branch
good 👍
Can I just delete the platforms I don't use? I only have one sonoff basic deployed
Source: setup.py:249
First occurred: 1:10:44 PM (1 occurrences)
Last logged: 1:10:44 PM
Unable to prepare setup for platform sonoff.light: Platform not found (No module named 'custom_components.sonoff.light').```
@fiservedpi if you don't have the devices nothing else will be loaded (it's just organized logic), but if you really want less files you can edit this line in __init.py__
and remove stuff you don't need
for component in ['switch', 'sensor', 'binary_sensor', 'light', 'fan']:
Ok was just wondering since it's showing up as an error but I'll just leave well enough alone, thanks again
Also looks like some changes are coming down the pipe (of course!) Home Assistant 0.110.0b1 HASSIO: No
Source: components/switch/__init__.py:125
Integration: Switch (documentation, issues)
First occurred: 8:59:22 PM (2 occurrences)
Last logged: 8:59:22 PM
SwitchDevice is deprecated, modify SonoffSwitch to extend SwitchEntity
SwitchDevice is deprecated, modify SonoffDebugSwitch to extend SwitchEntity```
it'll have to wait now...
Home assistant: 0.109.6 HASS OS: no SLOW_SETUP_MAX_WAIT
TypeError: string indices must be integers