{"record":{"id":"9cdb0cc2fbce039b","repo":"MagicMirrorOrg/MagicMirror","slug":"calendar-your-are-using-the-deprecated-config-va-9cdb0c","errorCode":null,"errorMessage":"[calendar] Your are using the deprecated config values 'coloredSymbolOnly'. Please switch to 'coloredSymbol' & 'coloredText'!","messagePattern":"\\[calendar\\] Your are using the deprecated config values 'coloredSymbolOnly'\\. Please switch to 'coloredSymbol' & 'coloredText'!","errorType":"console","errorClass":null,"httpStatus":null,"severity":"warning","filePath":"defaultmodules/calendar/calendar.js","lineNumber":102,"sourceCode":"\t\t/*\n\t\t * The translations for the default modules are defined in the core translation files.\n\t\t * Therefore we can just return false. Otherwise we should have returned a dictionary.\n\t\t * If you're trying to build your own module including translations, check out the documentation.\n\t\t */\n\t\treturn false;\n\t},\n\n\t// Override start method.\n\tstart () {\n\t\tLog.info(`Starting module: ${this.name}`);\n\n\t\tif (this.config.colored) {\n\t\t\tLog.warn(\"[calendar] Your are using the deprecated config values 'colored'. Please switch to 'coloredSymbol' & 'coloredText'!\");\n\t\t\tthis.config.coloredText = true;\n\t\t\tthis.config.coloredSymbol = true;\n\t\t}\n\t\tif (this.config.coloredSymbolOnly) {\n\t\t\tLog.warn(\"[calendar] Your are using the deprecated config values 'coloredSymbolOnly'. Please switch to 'coloredSymbol' & 'coloredText'!\");\n\t\t\tthis.config.coloredText = false;\n\t\t\tthis.config.coloredSymbol = true;\n\t\t}\n\n\t\t// Set locale.\n\t\tmoment.updateLocale(config.language, CalendarUtils.getLocaleSpecification(config.timeFormat));\n\n\t\t// clear data holder before start\n\t\tthis.calendarData = {};\n\n\t\t// indicate no data available yet\n\t\tthis.loaded = false;\n\n\t\t// data holder of calendar url. Avoid fade out/in on updateDom (one for each calendar update)\n\t\tthis.calendarDisplayer = {};\n\n\t\tthis.config.calendars.forEach((calendar) => {\n\t\t\tcalendar.url = calendar.url.replace(\"webcal://\", \"http://\");","sourceCodeStart":84,"sourceCodeEnd":120,"githubUrl":"https://github.com/MagicMirrorOrg/MagicMirror/blob/4b4a59534f7da01e4030e46029fe9dd649a7675e/defaultmodules/calendar/calendar.js#L84-L120","documentation":"The calendar module warns when the legacy `coloredSymbolOnly` option is set. That single boolean has been superseded by the pair `coloredSymbol` and `coloredText`; the module maps coloredSymbolOnly to coloredText=false, coloredSymbol=true for compatibility, but the option is deprecated and will be removed.","triggerScenarios":"config.js calendar module config contains `coloredSymbolOnly: true`, hitting the Log.warn at defaultmodules/calendar/calendar.js:102 in start().","commonSituations":"Configs written when coloredSymbolOnly was introduced to show only colored symbols; copy-pasted example configs from older docs or forum posts after upgrading MagicMirror.","solutions":["Replace `coloredSymbolOnly: true` with `coloredSymbol: true` (and omit coloredText, or set coloredText: false)","Ensure colored is not also set, which would override these values","Re-check the calendar module documentation for the current option names after upgrading"],"exampleFix":"// before\nconfig: { coloredSymbolOnly: true }\n// after\nconfig: { coloredSymbol: true }","handlingStrategy":"validation","validationCode":"if (\"coloredSymbolOnly\" in calendarConfig) {\n  console.warn(\"coloredSymbolOnly is deprecated: use coloredSymbol: true (and coloredText: false if needed)\");\n}","typeGuard":"function usesDeprecatedColoredSymbolOnly(cfg) {\n  return typeof cfg === \"object\" && cfg !== null && \"coloredSymbolOnly\" in cfg;\n}","tryCatchPattern":null,"preventionTips":["Replace coloredSymbolOnly with coloredSymbol during config reviews","Check for legacy option names when copying configs from forums","Run MagicMirror once after edits and clear all startup warnings","Keep a minimal config and add options only from current docs"],"tags":["deprecation","calendar","configuration","magicmirror"],"backgroundTag":"deprecated-config-option","analyzedSha":"4b4a59534f7da01e4030e46029fe9dd649a7675e","analyzedAt":"2026-08-31T21:49:42.591Z","schemaVersion":2},"datasetVersion":"2026-08-31T22:30:34.772Z"}