Introduce only_supervisor for @websocket_api.ws_require_user() (#61298)

This commit is contained in:
Stefan Agner
2021-12-09 01:49:35 +01:00
committed by GitHub
parent 1f1a29cada
commit a13ae85982
7 changed files with 70 additions and 13 deletions

View File

@@ -756,3 +756,6 @@ ENTITY_CATEGORIES: Final[list[str]] = [
CAST_APP_ID_HOMEASSISTANT_MEDIA: Final = "B45F4572"
# The ID of the Home Assistant Lovelace Cast App
CAST_APP_ID_HOMEASSISTANT_LOVELACE: Final = "A078F6B0"
# User used by Supervisor
HASSIO_USER_NAME = "Supervisor"