I have an issue regarding Value_template:
Basically, I wanna check the value from two sensors (And/OR) from the same device to be a trigger , Previously, I was able to make each of them to work separately, but I wanna consolidate them into one.
This is the old one that works:
platform: template
value_template: >-
{{ 'Glucose was 250 mg/dL or higher' in
states('sensor.medtronic_pixel_last_notification_2') }}
id: vhighbg
alias: Very High Blood Glucose
and
platform: template
value_template: >-
{{ 'Glucose was 250 mg/dL or higher' in
states('sensor.medtronic_pixel_last_removed_notification_2') }}
id: vhighbg
alias: Very High Blood Glucose
But I am trying to merge them together as (or)
platform: template
value_template: >-
{{ 'Glucose was 250 mg/dL or higher' in
states('sensor.medtronic_pixel_last_notification_2') }} {{ 'Glucose was 250
mg/dL or higher' in
states('sensor.medtronic_pixel_last_removed_notification_2') }}
id: vhighbg
alias: Very High Blood Glucose
Any help will be greatly appreciated as this is for my sons diabetes alarm system.