So, what we can do is to add the alarm_raw
channel. This will provide a JSON string with two components - the type and value. I will actually remove the current alarm_general
and replace it with the alarm_raw
.
You will be able to use that in the rule to detect these two events. I think there’s more information here -: