pulsebar: use devicetype and device instead of sink (null var)

This commit is contained in:
razamatan 2019-06-28 00:24:01 -07:00
parent f1964b40e4
commit b5352ef66f
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