Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95437

How to evaluate a Rest response only once a day?

$
0
0

@membersound wrote:

If I want to evaluate the response of a GET rest call, I have to create a sensor with platform: rest, correct?

If so: how can I evaluate that rest call only once a day?
In may case, I want to fetch the battery status of a device in my home from its rest endpoint. But it would be sufficient to fetch it only once every 24h (and not every 30s which is the default for a sensor).

Is the solution to add a scan_interval: 86400 to the sensor config?
And then create an automation on that sensor to check the state (of the response)?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95437

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>