cgarwood / homeassistant-fullykiosk

Fully Kiosk Browser integration for Home Assistant
Apache License 2.0
153 stars 27 forks source link

add service to_background #66

Closed chpego closed 2 years ago

chpego commented 2 years ago

maybe fix this issue #64

chpego commented 2 years ago

Ok, i remove the last line, but i don't know why checks aren't successful :/

cgarwood commented 2 years ago

It's failing the isort check:

@@ -29,8 +29,8 @@ from .const import (
     SERVICE_RESTART_APP,
     SERVICE_SET_CONFIG,
     SERVICE_START_APPLICATION,
-    SERVICE_TO_FOREGROUND,
     SERVICE_TO_BACKGROUND,
+    SERVICE_TO_FOREGROUND,
 )

basically it just wants SERVICE_TO_BACKGROUND, moved above SERVICE_TO_FOREGROUND, in the import.

cgarwood commented 2 years ago

python-fullykiosk 0.0.11 is publishing now with the updated to background function. That will need updated in the manifest and then we're ready to merge 🙂