mirror of https://github.com/lcpz/lain.git
pulsebar: use devicetype and device instead of sink (null var)
This commit is contained in:
parent
f1964b40e4
commit
b5352ef66f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue