I have a RESTful sensor that check a URL that changes over the course of the day and resets to zero at 19:00 each day. Just before it resets I want to read the value and save it.
Currently it check once every 24 hours, but when it checks is depending on when it started checking first time.
Can I change this so it checks every day at 18:45 before the reset to zero?
Current configuration
sensor:
- platform: rest
resource: https://rijkswaterstaatstrooit.nl/api/statistics
value_template: "{{ value_json.dailySaltUsed }}"
unit_of_measurement: "KG"
device_class: "weight"
name: rijkswaterstaatstrooit
scan_interval: 86400