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

View file

@ -154,7 +154,7 @@ local function factory(args)
end) end)
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 return pulsebar
end end