How to create templete sensor different last 24 hours ?
Trying to create sensor for new corona virus case per day
How to create templete sensor different last 24 hours ?
Trying to create sensor for new corona virus case per day
Anyway… found the solution using statistic sensor
Attribute: change give you the data
sensor:
- platform: statistics
entity_id: sensor.coronavirus_confirmed
max_age:
days: 1