mirror of
https://github.com/bourquep/mysa2mqtt.git
synced 2025-12-16 21:22:36 +00:00
## Add support for AC-V1-1 Devices This PR follows https://github.com/bourquep/mysa-js-sdk/pull/156 and should be merged once the `mysa-js-sdk` is updated and we probably need to bump the version in here too? ### What Changed - Added detection for AC model devices (`isAC`) and extended mode handling: - Supports additional modes: `cool`, `dry`, `fan_only`, and `auto` (alongside `heat` and `off`). - Supports fans speed for fan compatible modes with 4 speeds as advertised on the Mysa app ** Note: I'm no typescript expert so code might not look the best ** ### Testing - Verified mode changes and temperature updates for both heat-only and AC devices. - Verified fan speed changes for AC devices - Verified action changes for both heat-only and AC devices - Tested interactions from both Mysa app and HA https://github.com/user-attachments/assets/ada413dc-c681-49de-af09-7b21826be8f3 ### Next Steps - Add full AC-V1 support: - Swing / vane control --------- Co-authored-by: Pascal Bourque <pascal@cosmos.moi>