sleevezipper / hass-workstation-service

Provide useful sensors and services from your workstation to Home Assistant.
Apache License 2.0
613 stars 54 forks source link

Change order of events to fix sleep sensor issues #122

Closed SecretiveShell closed 2 years ago

SecretiveShell commented 2 years ago

This PR aims to fix #121 and #54

I made the sensor turn off before executing the command.

sleevezipper commented 2 years ago

This will break compatibility with long(er) running commands but that's a compromise I'm willing to make for now. Thanks!

SecretiveShell commented 2 years ago

Is there a way this can be implemented without effecting longer running commands?

What about a checkmark box when configuring the command to change this behaviour?