I am using an equation to activate a template sensor for a waste notification. The waste is collected on Thursday, so the switch can be switched on Friday. With the current formula, this only happens on Sunday. How can I add 3 days to now () so that the new week begins at friday?
I would like to help but I don’t understand what you want those Template Sensors to show. For example, this template appears to do very little because it compares nearly identical expressions:
In addition, it may work when tested in the Template Editor but will not work in a Template Sensor because it lacks entities. See this for more information: Templates without entities using now()
If you want a Template Binary Sensor that indicates on when today is Thursday, consider this:
With this template I set the sensors on and off.
Below an example off the cards that I use.
It works but the carbage is collected at thursday.
So the sensors may switch on friday. .
I have followed the manual installation and put the file in custom_components.
First I add it with intergrations but then I had only one sensor, I need 3.
So I delete this integration and add it manually to the configuration.yaml.
Now it works.
Is there also a way to color the next waste icon?