You can change REFRESH_FREQUENCY
in sensors.py
. Currently that’s at 15 seconds. Though actuator state for digital sensors should be sent in close to real-time. Also keep in mind not to make it very rapid as you might hit rate limit Sending MQTT messages within rate limits