Hey Guys -
I recently set up an ESP32 which monitors and sends how many amps it measures to an MQTT topic once a second. I’m trying to figure out the best way for HA to turn toggle the power on a separate device based on what range the amp value is in.
If the payload of officeac/amps is > 0.06, turn on light1.
If the payload of officeac/amps is < 0.5, turn off light1
I tried setting this up in Automations, but seemingly could only use static values as the trigger.
Any suggestions? Thanks!