Skip to content

Commit

Permalink
Primeiro release
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianosan committed Oct 18, 2024
1 parent 6a42a63 commit 2d204d1
Show file tree
Hide file tree
Showing 13 changed files with 2,262 additions and 0 deletions.
1,737 changes: 1,737 additions & 0 deletions .gitignore

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions lambda_functions/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"configurations": [
{
"type": "aws-sam",
"request": "direct-invoke",
"name": "HomeAssistantAssist:lambda_function.lambda_handler (python3.12)",
"invokeTarget": {
"target": "code",
"projectRoot": "${workspaceFolder}/HomeAssistantAssist",
"lambdaHandler": "lambda_function.lambda_handler"
},
"lambda": {
"runtime": "python3.12",
"payload": {},
"environmentVariables": {}
}
}
]
}
25 changes: 25 additions & 0 deletions lambda_functions/apl_empty.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"type": "APL",
"version": "1.6",
"description": "Empty APL document.",
"settings": {},
"theme": "dark",
"import": [],
"resources": [],
"styles": {},
"onMount": [],
"graphics": {},
"commands": {},
"layouts": {},
"mainTemplate": {
"items": [
{
"type": "Text",
"height": "100vh",
"textAlign": "center",
"textAlignVertical": "center",
"text": ""
}
]
}
}
74 changes: 74 additions & 0 deletions lambda_functions/apl_openha.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"type": "APL",
"version": "1.6",
"theme": "light",
"mainTemplate": {
"items": [
{
"type": "Container",
"items": [
{
"type": "Image",
"source": "https://raw.githubusercontent.com/fabianosan/HomeAssistantAssist/refs/heads/main/skill-package/assets/images/common_background.jpg",
"scale": "fill",
"width": "100vw",
"height": "100vh",
"opacity": 0.5,
"position": "absolute"
},
{
"type": "Image",
"source": "https://raw.githubusercontent.com/fabianosan/HomeAssistantAssist/refs/heads/main/skill-package/assets/images/common_ha_title.png",
"scale": "best-fit",
"width": "70vw",
"height": "100dp",
"alignSelf": "center",
"opacity": 1,
"marginTop": "10dp"
},
{
"type": "Text",
"text": "Bem-vindo à casa Vitucci!",
"fontSize": "50dp",
"textAlign": "center",
"backgroundColor": "#4CAF50",
"color": "#000000"
},
{
"type": "Text",
"text": "Clique no botão abaixo para abrir seu dashboard",
"fontSize": "15dp",
"textAlign": "center",
"color": "#000000",
"marginTop": "40dp"
},
{
"type": "TouchWrapper",
"onPress": {
"type": "OpenURL",
"source": "https://MINHA_URL_HOMEASSISTANT/lovelace?kiosk"
},
"item": {
"type": "Text",
"text": "Abrir Home Assistant",
"fontSize": "35dp",
"textAlign": "center",
"padding": "20dp",
"color": "#000000",
"borderRadius": "10dp",
"borderWidth": "1dp",
"borderColor": "#000000"
},
"marginTop": "50dp",
"width": "60%",
"alignSelf": "center"
}
],
"alignItems": "center",
"justifyContent": "center",
"padding": "20dp"
}
],
"backgroundColor": "white"
}
}
Loading

0 comments on commit 2d204d1

Please sign in to comment.