Custom trailer alarm

Wanderson Moreira 3 years ago

Hello, I would like to make an attribute where if the vehicle is moving and the ignition is off, it generates an alarm, has anyone done it or can help?

Anton Tananaev 3 years ago

You can use computed attributes for it. Use attribute alarm and an expression something like this:

!ignition && motion? "sos" : null