Extend key for external alertable to avoid conflicts with different alerts

This commit is contained in:
Alfredo Cardigliano 2025-08-28 11:44:44 +02:00
parent 6cf11e0e21
commit 16e090549d
5 changed files with 30 additions and 8 deletions

View file

@ -181,6 +181,12 @@ end
-- ##############################################
function Alert:get_subtype()
return self.subtype
end
-- ##############################################
function Alert:set_granularity(granularity)
self.granularity = alert_granularities[granularity]
if (self.granularity == nil) then