core: Broadlink switch sp3mini error
The problem
ERROR (MainThread) [homeassistant.components.broadlink.switch] Failed to update state: The device storage is full
Environment
- Home Assistant Core release with the issue: Home Assistant 0.110.7
- Last working Home Assistant Core release (if known):
- Operating environment (Home Assistant/Supervised/Docker/venv): homeassistant/raspberrypi3-homeassistant:stable
- Integration causing this issue: broadlink switch
- Link to integration documentation on our website:
Problem-relevant configuration.yaml
switch:
- platform: broadlink
host: 192.168.2.245
mac: 'mac'
friendly_name: sp3mini
type: sp3
Traceback/Error logs
ERROR (MainThread) [homeassistant.components.broadlink.switch] Failed to update state: The device storage is full
Additional information
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 42 (24 by maintainers)
Okay, looks like I missed the part about the sp4 branch from @felipediel . Checked it out, the switch works!
@felipediel Still works for me with the newest code.
@felipediel I can confirm that controlling the switch works fine with python-broadlink on your
latest-broadlinkbranch, and also with home-assistant on yoursp4branch. Thanks a lot!@felipediel Thanks for investigating!
It seems to return the correct state when toggled via the IHC app. Note I can only control it with the older IHC app; the newer BroadLink app lists the device, but refuses to interact with it (“It’s currently not supported on this device.”).
Setting power to False has no effect, no matter whether the switch is turned on or off.
I can capture some network traces if that would be helpful.
Yes
@felipediel Looking much better. Now returning 0 when power is switched off, and 1 when it’s turned on.
Thank you! This will be fixed with: https://github.com/home-assistant/core/pull/39228/commits/34561f03039e216a034cfd4ccceb321c87a34ac4.