Include configuration yml files

This commit is contained in:
2025-12-22 08:23:00 -05:00
parent 97679cd03b
commit 418ce7b583
3 changed files with 256 additions and 0 deletions

44
ha/ha_config/scripts.yaml Normal file
View File

@@ -0,0 +1,44 @@
phone_weather:
sequence:
- action: rest_command.get_phone_weather
data: {}
response_variable: weather_data
- variables:
max_temp: '{{ weather_data.content.daily.temperature_2m_max[0] }}'
- action: script.general_notificatioon
metadata: {}
data:
message: 'Good morning!
The high for today is {{ max_temp }}
'
title: Morning Weather
alias: Phone Weather
description: ''
general_notificatioon:
sequence:
- action: notify.mobile_app_alexs_iphone_2
metadata: {}
data:
message: '{{ message }}'
title: '{{ title }}'
- action: notify.persistent_notification
metadata: {}
data:
message: '{{ message }}'
title: '{{ title }}'
fields:
title:
selector:
text:
name: Title
required: true
message:
selector:
text:
name: Message
required: true
alias: General Notification
description: ''
icon: mdi:bell-badge