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

How to add scan_interval of sensor to script or automation?

$
0
0

@forted.exe wrote:

Iam using xiaomi flora, scan_interval was set to 5 min. But sometime I want it update the value instantly, is there any way to add scan_interval to the script so I can create the button in HA dashboard ?
My idea is:
_Press the button, scan_interval will set to 1 sec.
_Delay 2 sec
_Then set scan_interval back to 5 min

Posts: 12

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 95365

Trending Articles



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