Merge pull request #435 from razamatan/master

pulsebar: as timer ID, use devicetype and device instead of sink (nil var)
This commit is contained in:
Luca CPZ 2019-06-28 11:03:26 +01:00 committed by GitHub
commit e8a34ec0e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ local function factory(args)
end)
end
helpers.newtimer(string.format("pulsebar-%s", pulsebar.sink), timeout, pulsebar.update)
helpers.newtimer(string.format("pulsebar-%s-%s", pulsebar.devicetype, pulsebar.device), timeout, pulsebar.update)
return pulsebar
end