status,
)
try:
- if status == "alarm" and alarm.last_action == "ok":
+ if (
+ status == "alarm"
+ and alarm.last_action == "ok"
+ or (
+ status == "alarm"
+ and alarm.last_action == "insufficient-data"
+ )
+ ):
alarm.id_suffix += 1
alarm.ok_ack = False
if status == "ok" and alarm.last_action == "alarm":