Compare commits

...

6 Commits

3 changed files with 106 additions and 10 deletions

View File

@@ -1 +1 @@
2025.10.0
2025.10.3

View File

@@ -1742,6 +1742,12 @@ tony_morning_meds:
}}.
task_name: Tony Morning Medication Reminder Snarky
entity_id: ai_task.google_ai_task
structure:
notification_text:
description: The text to send in the notification to Tony's phone
required: true
selector:
text:
response_variable: response
else:
- alias: Generate reminder
@@ -1752,6 +1758,12 @@ tony_morning_meds:
lines.
task_name: Tony Morning Medication Reminder
entity_id: ai_task.google_ai_task
structure:
notification_text:
description: The text to send in the notification to Tony's phone
required: true
selector:
text:
response_variable: response
- delay:
hours: 0
@@ -1765,7 +1777,7 @@ tony_morning_meds:
who: tony
type: alert
title: Morning Meds
message: '{{ response.data }}'
message: '{{ response.data.notification_text }}'
tag: tony-morning-meds
actions:
- action: TONY_MORNING_MEDS_TAKEN
@@ -1791,7 +1803,7 @@ tony_morning_meds:
data:
who: common_areas
type: alert
message: '{{ response.data }}'
message: '{{ response.data.notification_text }}'
action: script.speech_engine
else:
- delay:
@@ -2058,6 +2070,12 @@ tony_afternoon_meds:
}}.
task_name: Tony Afternoon Medication Reminder Snarky
entity_id: ai_task.google_ai_task
structure:
notification_text:
description: The text to send in the notification to Tony's phone
required: true
selector:
text:
response_variable: response
else:
- alias: Generate reminder
@@ -2068,6 +2086,12 @@ tony_afternoon_meds:
lines.
task_name: Tony Afternoon Medication Reminder
entity_id: ai_task.google_ai_task
structure:
notification_text:
description: The text to send in the notification to Tony's phone
required: true
selector:
text:
response_variable: response
- delay:
hours: 0
@@ -2081,7 +2105,7 @@ tony_afternoon_meds:
who: tony
type: alert
title: Afternoon Meds
message: '{{ response.data }}'
message: '{{ response.data.notification_text }}'
tag: tony-afternoon-meds
actions:
- action: TONY_AFTERNOON_MEDS_TAKEN
@@ -2107,7 +2131,7 @@ tony_afternoon_meds:
data:
who: common_areas
type: alert
message: '{{ response.data }}'
message: '{{ response.data.notification_text }}'
action: script.speech_engine
else:
- delay:
@@ -3016,14 +3040,14 @@ rabbit_hutch_cleaning:
emma_sleep:
alias: Emma Sleep
sequence:
- if:
- alias: Run scheduling if it hasn't already been run
if:
- condition: time
after: 04:00:00
after: 09:00:00
before: '17:00:00'
then:
- data: {}
action: script.emma_bedroom_scheduling_evening
alias: Run scheduling if it hasn't already been run
- target:
entity_id:
- script.emma_ibuprofen
@@ -3118,6 +3142,12 @@ tina_morning_meds:
}}.
task_name: Tina Morning Medication Reminder Snarky
entity_id: ai_task.google_ai_task
structure:
notification_text:
description: The text to send in the notification to Tina's phone
required: true
selector:
text:
response_variable: response
else:
- alias: Generate reminder
@@ -3128,6 +3158,12 @@ tina_morning_meds:
lines.
task_name: Tina Morning Medication Reminder
entity_id: ai_task.google_ai_task
structure:
notification_text:
description: The text to send in the notification to Tina's phone
required: true
selector:
text:
response_variable: response
- delay:
hours: 0
@@ -3139,7 +3175,7 @@ tina_morning_meds:
who: tina
type: alert
title: Morning Meds
message: '{{ response.data }}'
message: '{{ response.data.notification_text }}'
tag: tina-morning-meds
actions:
- action: TINA_MORNING_MEDS_TAKEN
@@ -3208,6 +3244,12 @@ tina_night_meds:
}}.
task_name: Tina Night Medication Reminder Snarky
entity_id: ai_task.google_ai_task
structure:
notification_text:
description: The text to send in the notification to Tina's phone
required: true
selector:
text:
response_variable: response
else:
- alias: Generate reminder
@@ -3217,6 +3259,12 @@ tina_night_meds:
instructions: Remind Tina to take her night meds. Use a maximum of two lines.
task_name: Tina Night Medication Reminder
entity_id: ai_task.google_ai_task
structure:
notification_text:
description: The text to send in the notification to Tina's phone
required: true
selector:
text:
response_variable: response
- delay:
hours: 0
@@ -3228,7 +3276,7 @@ tina_night_meds:
who: tina
type: alert
title: Night Meds
message: '{{ response.data }}'
message: '{{ response.data.notification_text }}'
tag: tina-night-meds
actions:
- action: TINA_NIGHT_MEDS_TAKEN

View File

@@ -464,3 +464,51 @@
map(attribute='attributes.friendly_name') |
list %}
{{ uptimekuma | join(', ') }}
- name: Media Server Viewer Health
unique_id: 51154ade-255e-4dcd-9b89-66910fcc1331
unit_of_measurement: '%'
icon: mdi:movie
state: >
{% set total = states.binary_sensor |
selectattr('entity_id','in',label_entities('media_server')) |
selectattr('entity_id','in',label_entities('viewer')) |
list | count | int %}
{% set up = states.binary_sensor |
selectattr('entity_id','in',label_entities('media_server')) |
selectattr('entity_id','in',label_entities('viewer')) |
selectattr('state','eq','on') |
list | count | int %}
{{ ((up / total) * 100) | round(0) }}
attributes:
services_down: >
{% set down = states.binary_sensor |
selectattr('entity_id','in',label_entities('media_server')) |
selectattr('entity_id','in',label_entities('viewer')) |
selectattr('state','eq','off') |
map(attribute='attributes.friendly_name') |
list %}
{{ down | join(', ') }}
- name: Media Server Downloaders Health
unique_id: f27867fe-700f-45bc-9e6b-8b1ee74cb724
unit_of_measurement: '%'
icon: mdi:tray-arrow-down
state: >
{% set total = states.binary_sensor |
selectattr('entity_id','in',label_entities('media_server')) |
selectattr('entity_id','in',label_entities('downloader')) |
list | count | int %}
{% set up = states.binary_sensor |
selectattr('entity_id','in',label_entities('media_server')) |
selectattr('entity_id','in',label_entities('downloader')) |
selectattr('state','eq','on') |
list | count | int %}
{{ ((up / total) * 100) | round(0) }}
attributes:
services_down: >
{% set down = states.binary_sensor |
selectattr('entity_id','in',label_entities('media_server')) |
selectattr('entity_id','in',label_entities('downloader')) |
selectattr('state','eq','off') |
map(attribute='attributes.friendly_name') |
list %}
{{ down | join(', ') }}