Skip to content

Update mqtt.py#16

Open
optimuspryne wants to merge 1 commit into
nebhead:mainfrom
optimuspryne:patch-1
Open

Update mqtt.py#16
optimuspryne wants to merge 1 commit into
nebhead:mainfrom
optimuspryne:patch-1

Conversation

@optimuspryne

Copy link
Copy Markdown

Changed the portions that launch the zones and schedules to match the functionality in app.py.

Imports GetPythonExecutable from common.

Also added error handling. Error logs are written at /tmp/ for the zone and schedule executions.

Tested on my setup and was able to start zones and schedules via HomeAssistant MQTT.

Changed the portions that launch the zones and schedules to match the functionality in app.py.  

Imports GetPythonExecutable from common.  

Also added error handling.  Error logs are written at /tmp/ for the zone and schedule executions.  

Tested on my setup and was able to start zones and schedules via HomeAssistant MQTT.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant