MagicMirrorOrg/MagicMirror · warning
[calendar] Your are using the deprecated config values 'colo
Error message
[calendar] Your are using the deprecated config values 'colored'. Please switch to 'coloredSymbol' & 'coloredText'!
What it means
The calendar module's start() detects the legacy `colored` config option and logs a deprecation warning. `colored` has been split into two independent options: `coloredSymbol` (color the weather/event symbol) and `coloredText` (color the title text). The module still applies backwards-compatible behavior (sets both to true) so functionality continues, but the option will eventually be removed.
Source
Thrown at defaultmodules/calendar/calendar.js:97
},
// Define required translations.
getTranslations () {
/*
* The translations for the default modules are defined in the core translation files.
* Therefore we can just return false. Otherwise we should have returned a dictionary.
* If you're trying to build your own module including translations, check out the documentation.
*/
return false;
},
// Override start method.
start () {
Log.info(`Starting module: ${this.name}`);
if (this.config.colored) {
Log.warn("[calendar] Your are using the deprecated config values 'colored'. Please switch to 'coloredSymbol' & 'coloredText'!");
this.config.coloredText = true;
this.config.coloredSymbol = true;
}
if (this.config.coloredSymbolOnly) {
Log.warn("[calendar] Your are using the deprecated config values 'coloredSymbolOnly'. Please switch to 'coloredSymbol' & 'coloredText'!");
this.config.coloredText = false;
this.config.coloredSymbol = true;
}
// Set locale.
moment.updateLocale(config.language, CalendarUtils.getLocaleSpecification(config.timeFormat));
// clear data holder before start
this.calendarData = {};
// indicate no data available yet
this.loaded = false;
View on GitHub (pinned to 4b4a59534f)
Solutions
- Replace `colored: true` with `coloredSymbol: true, coloredText: true` in the calendar module config
- If you only wanted the symbol colored, set only coloredSymbol: true; for text only, set coloredText: true
- Review other calendar options against current docs (docs.magicmirror.builders) while editing the config
Example fix
// before (config.js, calendar section)
config: { colored: true }
// after
config: { coloredSymbol: true, coloredText: true } Defensive patterns
Strategy: validation
Validate before calling
if ("colored" in calendarConfig) {
console.warn("colored is deprecated: use coloredSymbol and/or coloredText");
} Type guard
function usesDeprecatedColored(cfg) {
return typeof cfg === "object" && cfg !== null && "colored" in cfg;
} Prevention
- Grep config.js for 'colored' after MagicMirror upgrades
- Read module changelogs/release notes before upgrading
- Treat Log.warn lines at startup as actionable config debt
- Use only documented options from docs.magicmirror.builders
When it happens
Trigger: A user's config.js calendar module section contains `colored: true` (or truthy), causing the Log.warn at defaultmodules/calendar/calendar.js:97 during module start.
Common situations: Old tutorials and copied config snippets from pre-2.x MagicMirror setups; migrating a long-lived config.js across MagicMirror versions without reviewing module options.
Related errors
- [calendar] Your are using the deprecated config values 'colo
- [calendar] Deprecation warning: Please update your calendar
- [calendar] Deprecation warning: Please consider upgrading yo
- https://docs.magicmirror.builders/modules/calendar.html#conf
- Unknown weather type: ${this.config.type}
AI-assisted analysis of MagicMirrorOrg/MagicMirror@4b4a59534f (2026-08-31).
Data as JSON: /api/errors/e6c5d55ae352c35f.
Report an issue: GitHub.