-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Any pre-made solutions for doing something like this or do we need a custom backend?
Need to store something like this in the repository
Should have a good REST api.
This command is to be installable with autopie install home-assistant
{
"Home Assistant": {
"id": "home-assistant"
"path": "",
"exec": "httpx",
"command": "-m POST ${COOKIE_FILE:+--cookie-file $COOKIE_FILE} -d entity_id script.${SCRIPT_NAME} $URL",
"deleteSourceFile": false,
"extras": [
{
"default": "/storage/emulated/0/cookies.txt",
"defaultBoolean": true,
"description": "The full path to cookie file.",
"id": "829804",
"name": "COOKIE_FILE",
"required": true,
"selectableOptions": [
""
],
"type": "STRING"
},
{
"default": "https://homeassistant.local/api/services/script/turn_on",
"defaultBoolean": true,
"description": "The URL endpoint.",
"id": "202404",
"name": "URL",
"required": true,
"selectableOptions": [
""
],
"type": "STRING"
},
{
"default": "night_mode",
"defaultBoolean": true,
"description": "The name of the script that is defined in the home automation server.",
"id": "862978",
"name": "SCRIPT_NAME",
"required": true,
"selectableOptions": [
"night_mode",
"day_mode",
"lights_off",
"ambient_mode",
"emergency"
],
"type": "SELECTABLE"
}
]
}
}Metadata
Metadata
Assignees
Labels
No labels