-
Hi! nspanel_screensaver_notification:
alias: Screensaver Notification
sequence:
- service: mqtt.publish
data:
topic: cmnd/tasmota_NsPanelTerrasse/Backlog
payload: CustomSend notify~{{ heading }}~{{ message }}; Buzzer 2,2,2
mode: single
icon: mdi:message-badge Source: https://docs.nspanel.pky.eu/notifications/#notification-on-screensaver Now I want to be informed 1 day before the trash is emptied. Somebody knows how to write a script how to do this? Would be great if you could help me. I tried via Homeassitant GUI but couldnt find a trigger or condition which applies to 1 day before emptying. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
No experience of using NSPanel, but you could probably do what you're trying to using an automatrion that checks against the two criteria you mention. You can trigger an automation each day at at 17:00. If you've implemented the add_days_to argument in your waste sensor then you can evaluate the If all the conditions are met, call the service that sends your notification to NSPanel. Maybe that'll work, maybe not, and there's probably several other ways to doing what you want. Think of this a starting point rather than the final answer... |
Beta Was this translation helpful? Give feedback.
No experience of using NSPanel, but you could probably do what you're trying to using an automatrion that checks against the two criteria you mention.
You can trigger an automation each day at at 17:00.
If you've implemented the add_days_to argument in your waste sensor then you can evaluate the
days_To
attribute.If all the conditions are met, call the service that sends your notification to NSPanel.
Maybe that'll work, maybe not, and there's probably several other ways to doing what you want. Think of this a starting point rather than the final answer...