|
CapabilityId.SWING_MODES: [ |
|
reader("swing_horizontal", any_of([1, 3])), |
|
reader("swing_vertical", any_of([0, 1])), |
|
], |
In my device it is returning 1. I think this is a bit check, eg.
bit 0 = vertical swing
bit 1 = horizontal swing
So the correct code could be:
CapabilityId.SWING_MODES: [
reader("swing_horizontal", any_of([2, 3])),
reader("swing_vertical", any_of([1])),
],
midea-msmart/msmart/device/AC/command.py
Lines 635 to 638 in d7db53b
In my device it is returning 1. I think this is a bit check, eg.
bit 0 = vertical swing
bit 1 = horizontal swing
So the correct code could be: