Environment
- HA version: 2026.8.1
- Integration version: Xiaomi Home v0.4.7
- Device: 米家智能窗簾 (Mi Smart Curtain), model
090615.curtain.sidt82, 2 units
Symptom
Calling cover.open_cover or cover.set_cover_position on the curtain entities raises:
RuntimeError('执行错误, 未知错误, code=2, cover.090615_cn_510065454_sidt82_s_2_curtain, 窗帘, motor-control')
...but the curtain physically moves (the motor executes the command). cover.close_cover works without error.
Impact
Any automation/script that calls open/set_position aborts at that step (default continue_on_error: false), so all subsequent actions are skipped. Workaround: add continue_on_error: true to those actions.
Reproduction
- Call
cover.open_cover on the entity (service call / REST / python_script)
- Exception is raised, but the curtain still opens
cover.close_cover returns OK
Expected behavior
No exception — the command succeeded physically. At minimum it should be a warning, not an error that aborts scripts.
Notes
- Both curtains affected (same model, different devices)
code=2 with motor-control suggests the API returns an error even though the command was executed
Environment
090615.curtain.sidt82, 2 unitsSymptom
Calling
cover.open_coverorcover.set_cover_positionon the curtain entities raises:...but the curtain physically moves (the motor executes the command).
cover.close_coverworks without error.Impact
Any automation/script that calls open/set_position aborts at that step (default
continue_on_error: false), so all subsequent actions are skipped. Workaround: addcontinue_on_error: trueto those actions.Reproduction
cover.open_coveron the entity (service call / REST / python_script)cover.close_coverreturns OKExpected behavior
No exception — the command succeeded physically. At minimum it should be a warning, not an error that aborts scripts.
Notes
code=2withmotor-controlsuggests the API returns an error even though the command was executed