how to create a calculated attribute that generates powercut alarms

URLEY REY3 years ago

hello dear ant!

I have a GT06 device, which does not generate alarms when I disconnect its power, but it changes the state of charge in true and false. How could I generate an attribute that will calculate the alarm event every time this happens.

Thank you for your excellent work, attentive to your comments.

Anton Tananaev3 years ago

It's only possible to access current values of attributes.