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] Script refinement to allow unit tests to run and bugs fix #44

Closed uswong closed 2 years ago

uswong commented 2 years ago

name: Script refinement & bugs fix about: Resolve an issue title: "Script refined to allow unit tests to run and bugs fixed" labels: pull-request assignees: mitch7391


AdvAir is refined to allow the running of unit tests and some bugs discovered are fixed.

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

Describe the solution you'd have implemented:

Do your changes pass local testing:

Additional context: I have included the _TEST suffix to the temporary file name /tmp/myAirConstants.txt in the setup and GetCurrentTemperature.bats files of the unit tests to become /tmp/myAirConstants.txt_TEST. This is necessary to order to prevent any interference with the smooth running of this version of AdvAir.sh on Homebridge.

mitch7391 commented 2 years ago

Looks good to me Ung Sing :) thank you again for your work!