mitch7391 / homebridge-cmd4-AdvantageAir

Catered shell script to integrate air conditioner control units by Advantage Air into HomeKit using the plug-in homebridge-cmd4.
MIT License
38 stars 5 forks source link

[Pull Request] Minor bug fixes to `AdvAir.sh` and `AirConServer` #59

Closed uswong closed 2 years ago

uswong commented 2 years ago

name: Pull Request about: Resolve an issue to homebridge-cmd4-AdvantageAir. title: "Minor bug fixes to AdvAir.sh and AirConServer" labels: Bug Fix assignees: mitch7391


A minor bug found with "Timer" accessory and some bugs prevented AirConServer from writing some "Set" commands to the server.

Is your pull request related to a problem or a new feature? Please describe:

  1. Bug fix to AdvAir.sh:
    • When countDownToOn is set and if the aircon is turned on manually instead, the countDownToOn remains on. It should be turned off because the aircon is now on.
  2. Bug fixes to AirConServer
    • some "Set" commands do not write to the server. This is due to the double quotes around a number and the path for writing the state of lights and things to the server are not complete.

Describe the solution you'd have implemented:

Do your changes pass local testing:

Additional context: