This pull request makes the following changes and is related to issue #37:
Move existing logging to debug mode as it is more verbose than what I'd expect to see in the normal Homebridge log. These logs can now be found by enabling Homebridge Debug Mode
Add logging of state changes that simply show when the state changes to "Occupied" or "Unoccupied"
Add an option to disable the logging of state changes
Overall, this really cleans up the output to the Homebridge logs while allowing useful state change logging to be captured if desired.
This pull request makes the following changes and is related to issue #37:
Overall, this really cleans up the output to the Homebridge logs while allowing useful state change logging to be captured if desired.