Skip to content

Commit

Permalink
🔇 Don't log track group color updates as issues
Browse files Browse the repository at this point in the history
  • Loading branch information
leolabs committed Jan 16, 2025
1 parent 05f4094 commit 588ad4a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,11 @@ class ModuleInstance extends InstanceBase<Config> {
this.setVariableValues({ remainingTimeInSet: Number(remainingTime) })
})
server.on('message', ([address, state]) => {
if (address.startsWith('/trackGroups/') && address !== '/trackGroups/names') {
if (
address.startsWith('/trackGroups/') &&
address !== '/trackGroups/names' &&
address !== '/trackGroups/colors'
) {
const [, , groupName, type] = address.split('/')

if (!groupName || !type) {
Expand Down

0 comments on commit 588ad4a

Please sign in to comment.