it doesn’t seems to be displaying on my app. I will try the desktop version later. Thanks! I will be able to mark your a response as a solution tomorrow.
I have attached a photo in landscape, it also plays a double role in this post since the automation didn’t trigger. I made a new sensor which is nearly identical to the one above except that I have the time offset by a different amount.
- sensor:
- name: Two days Until Shabbat/Yom Tov
unique_id: two_days_until_Shabbat_yom_tov
device_class: timestamp
state: "{{ states('sensor.jewish_calendar_upcoming_candle_lighting_3')|as_datetime - timedelta(hours = 48) - timedelta(minutes = 1) }}"
the trigger is the same as above but with the new sensor
alias: testing device class
description: ""
trigger:
- platform: time
at: sensor.two_days_until_shabbat_yom_tov
condition: []
action:
- service: notify.mobile_app_pixel_5
metadata: {}
data:
message: "it worked! "
mode: single
I noticed adding the timestamp device class changed the format of the entity (it now has the “T” in it) so it did go into effect. Any thoughts on why this isn’t triggering?