When using this sensot data as automation condition it is outdated because sonoff publishes to tele/sonoff9/SENSOR every 5 minutes (default period in Tasmota).
Is there a way to publishcmnd/sonoff9/Status 10-> evaluate based on updated state of upper sensor in condition block of automation?
P.S. I am aware I can reduce teleperiod on Sonoff Basic side but would like to avoid creating such additional load on Sonoff and Mosquito broker because particular automation will trigger rarely.
You can use conditions in the action part of automations too.
So you can publish ‘10’ to cmnd/sonoff9/status, maybe a short delay and then use a condition with the value of a second mqtt sensor with topic stat/sonoff9/STATUS10