Hi comunity i want to create virtual binary sensor (on/off) for show the device state, depends of power cunsumption , drive by chanching the numerical state of the some of other phisical sensor
:
for example:
if value (numerical state) of the sensor.washer_machine_current change from 0 A to above 1.0 A than virtual sensor state set β ON
and if value (numerical state) of the sensor.washer_machine_current change from above 1A to 0A than the virtual sensor state set β OFF
how to create βsmartβ automation , or it can be possible to do some of more easy way ?
thanks