Custom trailer alarm

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 Tananaev2 years ago

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

!ignition && motion? "sos" : null