sindrebroch / ha-magicmirror

Custom HomeAssistant-integration for MagicMirror
Apache License 2.0
14 stars 0 forks source link

Error starting HA-magicmirror #26

Open xmartorell opened 2 months ago

xmartorell commented 2 months ago

Hi all

I have HA 2024.5.1 running over HA OS in a Raspberry Pi 4. Installed manually last version of https://github.com/sindrebroch/ha-magicmirror

After to install the component via HACS, I get the error: "It couldn't set it up" image

In /homeassistant/home-assistant.log I see the integration occurs but there are the errors .- "ERROR (MainThread) [homeassistant.config_entries] Error setting up entry 192.168.1.70 for magicmirror" .- AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms'. Did you mean: 'async_unload_platforms'?

In the log is possible to see how the module connects to the remote console of MM and it returns information about the modules running in MM

Any idea or suggestion?

Here the relevant part of the log: 2024-05-04 16:52:04.645 DEBUG (MainThread) [custom_components.magicmirror] pre handle_request=<ClientResponse(http://192.168.1.70:8080/api/module) [200 OK]> <CIMultiDictProxy('Access-Control-Allow-Origin': '*', 'Referrer-Policy': 'no-referrer', 'Strict-Transport-Security': 'max-age=15552000; includeSubDomains', 'X-Content-Type-Options': 'nosniff', 'X-DNS-Prefetch-Control': 'off', 'X-Download-Options': 'noopen', 'X-Frame-Options': 'SAMEORIGIN', 'X-Permitted-Cross-Domain-Policies': 'none', 'X-XSS-Protection': '0', 'Content-Type': 'application/json; charset=utf-8', 'Content-Length': '9369', 'Etag': 'W/"2499-58nNek7W0CroWB6oQMXImWZVTCk"', 'Date': 'Sat, 04 May 2024 14:52:04 GMT', 'Connection': 'keep-alive', 'Keep-Alive': 'timeout=5')>

2024-05-04 16:52:04.647 DEBUG (MainThread) [custom_components.magicmirror] post handle_request={'success': True, 'data': [{'index': 0, 'identifier': 'module_0_alert', 'name': 'alert', 'path': 'modules/default/alert/', 'file': 'alert.js', 'configDeepMerge': False, 'config': {'effect': 'slide-center', 'alert_effect': 'jelly', 'display_time': 3500, 'position': 'center', 'welcome_message': False}, 'classes': 'alert', 'hidden': False, 'lockStrings': [], 'actions': {'showalert': {'notification': 'SHOW_ALERT', 'guessed': True}, 'hidealert': {'notification': 'HIDE_ALERT', 'guessed': True}}}, {'index': 1, 'identifier': 'module_1_updatenotification', 'name': 'updatenotification', 'path': 'modules/default/updatenotification/', 'file': 'updatenotification.js', 'position': 'top_bar', 'configDeepMerge': False, 'config': {'updateInterval': 600000, 'refreshInterval': 86400000, 'ignoreModules': [], 'sendUpdatesNotifications': False, 'updates': [], 'updateTimeout': 120000, 'updateAutorestart': False}, 'classes': 'updatenotification', 'hidden': False, 'lockStrings': [], 'actions': {'': {'notification': '', 'guessed': True}}}, {'index': 2, 'identifier': 'module_2_clock', 'name': 'clock', 'path': 'modules/default/clock/', 'file': 'clock.js', 'position': 'top_left', 'configDeepMerge': False, 'config': {'displayType': 'digital', 'timeFormat': 24, 'timezone': None, 'displaySeconds': True, 'showPeriod': True, 'showPeriodUpper': False, 'clockBold': False, 'showDate': True, 'showTime': True, 'showWeek': False, 'dateFormat': 'dddd, LL', 'sendNotifications': False, 'analogSize': '200px', 'analogFace': 'simple', 'analogPlacement': 'bottom', 'analogShowDate': 'top', 'secondsColor': '#888888', 'showSunTimes': False, 'showMoonTimes': False, 'lat': 47.630539, 'lon': -122.344147}, 'classes': 'clock', 'hidden': False, 'lockStrings': []}, {'index': 3, 'identifier': 'module_3_calendar', 'name': 'calendar', 'path': 'modules/default/calendar/', 'file': 'calendar.js', 'position': 'top_left', 'header': 'Vacaciones Cataluña', 'configDeepMerge': False, 'config': {'maximumEntries': 10, 'maximumNumberOfDays': 365, 'limitDays': 0, 'pastDaysCount': 0, 'displaySymbol': True, 'defaultSymbol': 'calendar-alt', 'defaultSymbolClassName': 'fas fa-fw fa-', 'showLocation': False, 'displayRepeatingCountTitle': False, 'defaultRepeatingCountTitle': '', 'maxTitleLength': 25, 'maxLocationTitleLength': 25, 'wrapEvents': False, 'wrapLocationEvents': False, 'maxTitleLines': 3, 'maxEventTitleLines': 3, 'fetchInterval': 3600000, 'animationSpeed': 2000, 'fade': True, 'fadePoint': 0.25, 'urgency': 7, 'timeFormat': 'relative', 'dateFormat': 'MMM Do', 'dateEndFormat': 'LT', 'fullDayEventDateFormat': 'MMM Do', 'showEnd': False, 'getRelative': 6, 'hidePrivate': False, 'hideOngoing': False, 'hideTime': False, 'hideDuplicates': True, 'showTimeToday': False, 'colored': False, 'forceUseCurrentTime': False, 'tableClass': 'small', 'calendars': [{'fetchInterval': 604800000, 'symbol': 'calendar-check', 'url': 'https://opendata-ajuntament.barcelona.cat/data/dataset/bef03e00-942b-443d-b2e6-d060f5b03cc3/resource/a012bbcd-e88a-4415-8981-48267a55b4a2/download'}], 'customEvents': [{'keyword': '.', 'transform': {'search': 'De verjaardag van ', 'replace': ''}}, {'keyword': '.', 'transform': {'search': "'s birthday", 'replace': ''}}], 'locationTitleReplace': {'street ': ''}, 'broadcastEvents': True, 'excludedEvents': [], 'sliceMultiDayEvents': False, 'broadcastPastEvents': False, 'nextDaysRelative': False, 'selfSignedCert': False, 'coloredText': False, 'coloredBorder': False, 'coloredSymbol': False, 'coloredBackground': False, 'limitDaysNeverSkip': False, 'flipDateHeaderTitle': False, 'updateOnFetch': True}, 'classes': 'calendar', 'hidden': False, 'lockStrings': []}, {'index': 4, 'identifier': 'module_4_compliments', 'name': 'compliments', 'path': 'modules/default/compliments/', 'file': 'compliments.js', 'position': 'lower_third', 'configDeepMerge': False, 'config': {'compliments': {'anytime': ['Hola Xavi!¿Qué tal hoy?'], 'morning': ['Buenos días, chavalote!', 'Disfruta de tu día!', 'Se te ve descansado'], 'afternoon': ['Ya queda menos para que acabe el día!', 'Oye, se te ve muy bien!', 'Buenas tardes!'], 'evening': ['Venga, empieza a tocar descansar!', 'Ha sido un día chulo!', 'Buenas noches!']}, 'updateInterval': 30000, 'remoteFile': None, 'fadeSpeed': 4000, 'morningStartTime': 3, 'morningEndTime': 12, 'afternoonStartTime': 12, 'afternoonEndTime': 17, 'random': True}, 'classes': 'compliments', 'hidden': False, 'lockStrings': []}, {'index': 5, 'identifier': 'module_5_MMM-DHT-Sensor', 'name': 'MMM-DHT-Sensor', 'path': 'modules/MMM-DHT-Sensor/', 'file': 'MMM-DHT-Sensor.js', 'position': 'top_right', 'header': 'en casa', 'configDeepMerge': False, 'config': {'sensorPin': 17, 'sensorType': 11, 'units': 'metric', 'updateInterval': 3600000, 'animationSpeed': 1000, 'relativeScale': 30, 'roundTemp': False, 'initialLoadDelay': 0, 'retryDelay': 2500}, 'classes': 'MMM-DHT-Sensor', 'hidden': False, 'lockStrings': []}, {'index': 6, 'identifier': 'module_6_weather', 'name': 'weather', 'path': 'modules/default/weather/', 'file': 'weather.js', 'position': 'top_right', 'header': 'Previsión para hoy', 'configDeepMerge': False, 'config': {'weatherProvider': 'openweathermap', 'roundTemp': False, 'type': 'current', 'lang': 'es', 'units': 'metric', 'tempUnits': 'metric', 'windUnits': 'Kmh', 'timeFormat': 24, 'updateInterval': 600000, 'animationSpeed': 1000, 'showFeelsLike': True, 'showHumidity': 'temp', 'showIndoorHumidity': False, 'showIndoorTemperature': False, 'allowOverrideNotification': False, 'showPeriod': True, 'showPeriodUpper': False, 'showPrecipitationAmount': False, 'showPrecipitationProbability': 'true', 'showUVIndex': 'true', 'showSun': True, 'showWindDirection': True, 'showWindDirectionAsArrow': False, 'degreeLabel': False, 'decimalSymbol': '.', 'maxNumberOfDays': 5, 'maxEntries': 5, 'ignoreToday': False, 'fade': True, 'fadePoint': 0.25, 'initialLoadDelay': 0, 'appendLocationNameToHeader': True, 'calendarClass': 'calendar', 'tableClass': 'small', 'onlyTemp': False, 'colored': False, 'absoluteDates': False, 'hourlyForecastIncrements': 1, 'location': 'Ordal', 'locationID': '3114996', 'apiKey': '6a007b3c9eb12ebd7851396e49dac192'}, 'classes': 'weather', 'hidden': False, 'lockStrings': [], 'actions': {'calendarevents': {'notification': 'CALENDAR_EVENTS', 'guessed': True}, 'indoortemperature': {'notification': 'INDOOR_TEMPERATURE', 'guessed': True}, 'indoorhumidity': {'notification': 'INDOOR_HUMIDITY', 'guessed': True}, 'currentweatheroverride': {'notification': 'CURRENT_WEATHER_OVERRIDE', 'guessed': True}}}, {'index': 7, 'identifier': 'module_7_weather', 'name': 'weather', 'path': 'modules/default/weather/', 'file': 'weather.js', 'position': 'top_right', 'header': 'Previsión a 5 días', 'configDeepMerge': False, 'config': {'weatherProvider': 'openweathermap', 'roundTemp': False, 'type': 'forecast', 'lang': 'es', 'units': 'metric', 'tempUnits': 'metric', 'windUnits': 'metric', 'timeFormat': 24, 'updateInterval': 600000, 'animationSpeed': 1000, 'showFeelsLike': True, 'showHumidity': 'none', 'showIndoorHumidity': False, 'showIndoorTemperature': False, 'allowOverrideNotification': False, 'showPeriod': True, 'showPeriodUpper': False, 'showPrecipitationAmount': False, 'showPrecipitationProbability': False, 'showUVIndex': False, 'showSun': True, 'showWindDirection': True, 'showWindDirectionAsArrow': False, 'degreeLabel': False, 'decimalSymbol': '.', 'maxNumberOfDays': '7', 'maxEntries': 5, 'ignoreToday': False, 'fade': True, 'fadePoint': 0.25, 'initialLoadDelay': 0, 'appendLocationNameToHeader': True, 'calendarClass': 'calendar', 'tableClass': 'small', 'onlyTemp': False, 'colored': 'true', 'absoluteDates': False, 'hourlyForecastIncrements': 1, 'location': 'Ordal', 'locationID': '3114996', 'apiKey': '6a007b3c9eb12ebd7851396e49dac192'}, 'classes': 'weather', 'hidden': False, 'lockStrings': [], 'actions': {'calendarevents': {'notification': 'CALENDAR_EVENTS', 'guessed': True}, 'indoortemperature': {'notification': 'INDOOR_TEMPERATURE', 'guessed': True}, 'indoorhumidity': {'notification': 'INDOOR_HUMIDITY', 'guessed': True}, 'currentweatheroverride': {'notification': 'CURRENT_WEATHER_OVERRIDE', 'guessed': True}}}, {'index': 8, 'identifier': 'module_8_newsfeed', 'name': 'newsfeed', 'path': 'modules/default/newsfeed/', 'file': 'newsfeed.js', 'position': 'bottom_bar', 'configDeepMerge': False, 'config': {'feeds': [{'title': 'Actualidad General. Generalitat Cataluña', 'url': 'https://web.gencat.cat/es/actualitat/rss.html'}], 'showAsList': False, 'showSourceTitle': True, 'showPublishDate': True, 'broadcastNewsFeeds': True, 'broadcastNewsUpdates': True, 'showDescription': False, 'showTitleAsUrl': False, 'wrapTitle': True, 'wrapDescription': True, 'truncDescription': True, 'lengthDescription': 400, 'hideLoading': False, 'reloadInterval': 300000, 'updateInterval': 10000, 'animationSpeed': 2500, 'maxNewsItems': 0, 'ignoreOldItems': False, 'ignoreOlderThan': 86400000, 'removeStartTags': '', 'removeEndTags': '', 'startTags': [], 'endTags': [], 'prohibitedWords': [], 'scrollLength': 500, 'logFeedWarnings': False, 'dangerouslyDisableAutoEscaping': False}, 'classes': 'newsfeed', 'hidden': False, 'lockStrings': [], 'actions': {'articlenext': {'notification': 'ARTICLE_NEXT', 'guessed': True}, 'articleprevious': {'notification': 'ARTICLE_PREVIOUS', 'guessed': True}, 'articlemoredetails': {'notification': 'ARTICLE_MORE_DETAILS', 'guessed': True}, 'articlescrollup': {'notification': 'ARTICLE_SCROLL_UP', 'guessed': True}, 'articlelessdetails': {'notification': 'ARTICLE_LESS_DETAILS', 'guessed': True}, 'articletogglefull': {'notification': 'ARTICLE_TOGGLE_FULL', 'guessed': True}, 'articleinforequest': {'notification': 'ARTICLE_INFO_REQUEST', 'guessed': True}}}, {'index': 9, 'identifier': 'module_9_MMM-Remote-Control', 'name': 'MMM-Remote-Control', 'path': 'modules/MMM-Remote-Control/', 'file': 'MMM-Remote-Control.js', 'position': 'bottom_left', 'configDeepMerge': False, 'config': {'customCommand': {}, 'showModuleApiMenu': True, 'secureEndpoints': True, 'apiKey': 'bc2e979db92f4741afad01d5d18eb8e2'}, 'classes': 'MMM-Remote-Control', 'hidden': False, 'lockStrings': []}]} 2024-05-04 16:52:04.648 DEBUG (MainThread) [custom_components.magicmirror] ModuleResponse={'success': True, 'data': [{'index': 0, 'identifier': 'module_0_alert', 'name': 'alert', 'path': 'modules/default/alert/', 'file': 'alert.js', 'configDeepMerge': False, 'config': {'effect': 'slide-center', 'alert_effect': 'jelly', 'display_time': 3500, 'position': 'center', 'welcome_message': False}, 'classes': 'alert', 'hidden': False, 'lockStrings': [], 'actions': {'showalert': {'notification': 'SHOW_ALERT', 'guessed': True}, 'hidealert': {'notification': 'HIDE_ALERT', 'guessed': True}}}, {'index': 1, 'identifier': 'module_1_updatenotification', 'name': 'updatenotification', 'path': 'modules/default/updatenotification/', 'file': 'updatenotification.js', 'position': 'top_bar', 'configDeepMerge': False, 'config': {'updateInterval': 600000, 'refreshInterval': 86400000, 'ignoreModules': [], 'sendUpdatesNotifications': False, 'updates': [], 'updateTimeout': 120000, 'updateAutorestart': False}, 'classes': 'updatenotification', 'hidden': False, 'lockStrings': [], 'actions': {'': {'notification': '', 'guessed': True}}}, {'index': 2, 'identifier': 'module_2_clock', 'name': 'clock', 'path': 'modules/default/clock/', 'file': 'clock.js', 'position': 'top_left', 'configDeepMerge': False, 'config': {'displayType': 'digital', 'timeFormat': 24, 'timezone': None, 'displaySeconds': True, 'showPeriod': True, 'showPeriodUpper': False, 'clockBold': False, 'showDate': True, 'showTime': True, 'showWeek': False, 'dateFormat': 'dddd, LL', 'sendNotifications': False, 'analogSize': '200px', 'analogFace': 'simple', 'analogPlacement': 'bottom', 'analogShowDate': 'top', 'secondsColor': '#888888', 'showSunTimes': False, 'showMoonTimes': False, 'lat': 47.630539, 'lon': -122.344147}, 'classes': 'clock', 'hidden': False, 'lockStrings': []}, {'index': 3, 'identifier': 'module_3_calendar', 'name': 'calendar', 'path': 'modules/default/calendar/', 'file': 'calendar.js', 'position': 'top_left', 'header': 'Vacaciones Cataluña', 'configDeepMerge': False, 'config': {'maximumEntries': 10, 'maximumNumberOfDays': 365, 'limitDays': 0, 'pastDaysCount': 0, 'displaySymbol': True, 'defaultSymbol': 'calendar-alt', 'defaultSymbolClassName': 'fas fa-fw fa-', 'showLocation': False, 'displayRepeatingCountTitle': False, 'defaultRepeatingCountTitle': '', 'maxTitleLength': 25, 'maxLocationTitleLength': 25, 'wrapEvents': False, 'wrapLocationEvents': False, 'maxTitleLines': 3, 'maxEventTitleLines': 3, 'fetchInterval': 3600000, 'animationSpeed': 2000, 'fade': True, 'fadePoint': 0.25, 'urgency': 7, 'timeFormat': 'relative', 'dateFormat': 'MMM Do', 'dateEndFormat': 'LT', 'fullDayEventDateFormat': 'MMM Do', 'showEnd': False, 'getRelative': 6, 'hidePrivate': False, 'hideOngoing': False, 'hideTime': False, 'hideDuplicates': True, 'showTimeToday': False, 'colored': False, 'forceUseCurrentTime': False, 'tableClass': 'small', 'calendars': [{'fetchInterval': 604800000, 'symbol': 'calendar-check', 'url': 'https://opendata-ajuntament.barcelona.cat/data/dataset/bef03e00-942b-443d-b2e6-d060f5b03cc3/resource/a012bbcd-e88a-4415-8981-48267a55b4a2/download'}], 'customEvents': [{'keyword': '.', 'transform': {'search': 'De verjaardag van ', 'replace': ''}}, {'keyword': '.', 'transform': {'search': "'s birthday", 'replace': ''}}], 'locationTitleReplace': {'street ': ''}, 'broadcastEvents': True, 'excludedEvents': [], 'sliceMultiDayEvents': False, 'broadcastPastEvents': False, 'nextDaysRelative': False, 'selfSignedCert': False, 'coloredText': False, 'coloredBorder': False, 'coloredSymbol': False, 'coloredBackground': False, 'limitDaysNeverSkip': False, 'flipDateHeaderTitle': False, 'updateOnFetch': True}, 'classes': 'calendar', 'hidden': False, 'lockStrings': []}, {'index': 4, 'identifier': 'module_4_compliments', 'name': 'compliments', 'path': 'modules/default/compliments/', 'file': 'compliments.js', 'position': 'lower_third', 'configDeepMerge': False, 'config': {'compliments': {'anytime': ['Hola Xavi!¿Qué tal hoy?'], 'morning': ['Buenos días, chavalote!', 'Disfruta de tu día!', 'Se te ve descansado'], 'afternoon': ['Ya queda menos para que acabe el día!', 'Oye, se te ve muy bien!', 'Buenas tardes!'], 'evening': ['Venga, empieza a tocar descansar!', 'Ha sido un día chulo!', 'Buenas noches!']}, 'updateInterval': 30000, 'remoteFile': None, 'fadeSpeed': 4000, 'morningStartTime': 3, 'morningEndTime': 12, 'afternoonStartTime': 12, 'afternoonEndTime': 17, 'random': True}, 'classes': 'compliments', 'hidden': False, 'lockStrings': []}, {'index': 5, 'identifier': 'module_5_MMM-DHT-Sensor', 'name': 'MMM-DHT-Sensor', 'path': 'modules/MMM-DHT-Sensor/', 'file': 'MMM-DHT-Sensor.js', 'position': 'top_right', 'header': 'en casa', 'configDeepMerge': False, 'config': {'sensorPin': 17, 'sensorType': 11, 'units': 'metric', 'updateInterval': 3600000, 'animationSpeed': 1000, 'relativeScale': 30, 'roundTemp': False, 'initialLoadDelay': 0, 'retryDelay': 2500}, 'classes': 'MMM-DHT-Sensor', 'hidden': False, 'lockStrings': []}, {'index': 6, 'identifier': 'module_6_weather', 'name': 'weather', 'path': 'modules/default/weather/', 'file': 'weather.js', 'position': 'top_right', 'header': 'Previsión para hoy', 'configDeepMerge': False, 'config': {'weatherProvider': 'openweathermap', 'roundTemp': False, 'type': 'current', 'lang': 'es', 'units': 'metric', 'tempUnits': 'metric', 'windUnits': 'Kmh', 'timeFormat': 24, 'updateInterval': 600000, 'animationSpeed': 1000, 'showFeelsLike': True, 'showHumidity': 'temp', 'showIndoorHumidity': False, 'showIndoorTemperature': False, 'allowOverrideNotification': False, 'showPeriod': True, 'showPeriodUpper': False, 'showPrecipitationAmount': False, 'showPrecipitationProbability': 'true', 'showUVIndex': 'true', 'showSun': True, 'showWindDirection': True, 'showWindDirectionAsArrow': False, 'degreeLabel': False, 'decimalSymbol': '.', 'maxNumberOfDays': 5, 'maxEntries': 5, 'ignoreToday': False, 'fade': True, 'fadePoint': 0.25, 'initialLoadDelay': 0, 'appendLocationNameToHeader': True, 'calendarClass': 'calendar', 'tableClass': 'small', 'onlyTemp': False, 'colored': False, 'absoluteDates': False, 'hourlyForecastIncrements': 1, 'location': 'Ordal', 'locationID': '3114996', 'apiKey': '6a007b3c9eb12ebd7851396e49dac192'}, 'classes': 'weather', 'hidden': False, 'lockStrings': [], 'actions': {'calendarevents': {'notification': 'CALENDAR_EVENTS', 'guessed': True}, 'indoortemperature': {'notification': 'INDOOR_TEMPERATURE', 'guessed': True}, 'indoorhumidity': {'notification': 'INDOOR_HUMIDITY', 'guessed': True}, 'currentweatheroverride': {'notification': 'CURRENT_WEATHER_OVERRIDE', 'guessed': True}}}, {'index': 7, 'identifier': 'module_7_weather', 'name': 'weather', 'path': 'modules/default/weather/', 'file': 'weather.js', 'position': 'top_right', 'header': 'Previsión a 5 días', 'configDeepMerge': False, 'config': {'weatherProvider': 'openweathermap', 'roundTemp': False, 'type': 'forecast', 'lang': 'es', 'units': 'metric', 'tempUnits': 'metric', 'windUnits': 'metric', 'timeFormat': 24, 'updateInterval': 600000, 'animationSpeed': 1000, 'showFeelsLike': True, 'showHumidity': 'none', 'showIndoorHumidity': False, 'showIndoorTemperature': False, 'allowOverrideNotification': False, 'showPeriod': True, 'showPeriodUpper': False, 'showPrecipitationAmount': False, 'showPrecipitationProbability': False, 'showUVIndex': False, 'showSun': True, 'showWindDirection': True, 'showWindDirectionAsArrow': False, 'degreeLabel': False, 'decimalSymbol': '.', 'maxNumberOfDays': '7', 'maxEntries': 5, 'ignoreToday': False, 'fade': True, 'fadePoint': 0.25, 'initialLoadDelay': 0, 'appendLocationNameToHeader': True, 'calendarClass': 'calendar', 'tableClass': 'small', 'onlyTemp': False, 'colored': 'true', 'absoluteDates': False, 'hourlyForecastIncrements': 1, 'location': 'Ordal', 'locationID': '3114996', 'apiKey': '6a007b3c9eb12ebd7851396e49dac192'}, 'classes': 'weather', 'hidden': False, 'lockStrings': [], 'actions': {'calendarevents': {'notification': 'CALENDAR_EVENTS', 'guessed': True}, 'indoortemperature': {'notification': 'INDOOR_TEMPERATURE', 'guessed': True}, 'indoorhumidity': {'notification': 'INDOOR_HUMIDITY', 'guessed': True}, 'currentweatheroverride': {'notification': 'CURRENT_WEATHER_OVERRIDE', 'guessed': True}}}, {'index': 8, 'identifier': 'module_8_newsfeed', 'name': 'newsfeed', 'path': 'modules/default/newsfeed/', 'file': 'newsfeed.js', 'position': 'bottom_bar', 'configDeepMerge': False, 'config': {'feeds': [{'title': 'Actualidad General. Generalitat Cataluña', 'url': 'https://web.gencat.cat/es/actualitat/rss.html'}], 'showAsList': False, 'showSourceTitle': True, 'showPublishDate': True, 'broadcastNewsFeeds': True, 'broadcastNewsUpdates': True, 'showDescription': False, 'showTitleAsUrl': False, 'wrapTitle': True, 'wrapDescription': True, 'truncDescription': True, 'lengthDescription': 400, 'hideLoading': False, 'reloadInterval': 300000, 'updateInterval': 10000, 'animationSpeed': 2500, 'maxNewsItems': 0, 'ignoreOldItems': False, 'ignoreOlderThan': 86400000, 'removeStartTags': '', 'removeEndTags': '', 'startTags': [], 'endTags': [], 'prohibitedWords': [], 'scrollLength': 500, 'logFeedWarnings': False, 'dangerouslyDisableAutoEscaping': False}, 'classes': 'newsfeed', 'hidden': False, 'lockStrings': [], 'actions': {'articlenext': {'notification': 'ARTICLE_NEXT', 'guessed': True}, 'articleprevious': {'notification': 'ARTICLE_PREVIOUS', 'guessed': True}, 'articlemoredetails': {'notification': 'ARTICLE_MORE_DETAILS', 'guessed': True}, 'articlescrollup': {'notification': 'ARTICLE_SCROLL_UP', 'guessed': True}, 'articlelessdetails': {'notification': 'ARTICLE_LESS_DETAILS', 'guessed': True}, 'articletogglefull': {'notification': 'ARTICLE_TOGGLE_FULL', 'guessed': True}, 'articleinforequest': {'notification': 'ARTICLE_INFO_REQUEST', 'guessed': True}}}, {'index': 9, 'identifier': 'module_9_MMM-Remote-Control', 'name': 'MMM-Remote-Control', 'path': 'modules/MMM-Remote-Control/', 'file': 'MMM-Remote-Control.js', 'position': 'bottom_left', 'configDeepMerge': False, 'config': {'customCommand': {}, 'showModuleApiMenu': True, 'secureEndpoints': True, 'apiKey': 'bc2e979db92f4741afad01d5d18eb8e2'}, 'classes': 'MMM-Remote-Control', 'hidden': False, 'lockStrings': []}]} 2024-05-04 16:52:04.649 DEBUG (MainThread) [custom_components.magicmirror] ModuleDataResponse={'index': 0, 'identifier': 'module_0_alert', 'name': 'alert', 'path': 'modules/default/alert/', 'file': 'alert.js', 'configDeepMerge': False, 'config': {'effect': 'slide-center', 'alert_effect': 'jelly', 'display_time': 3500, 'position': 'center', 'welcome_message': False}, 'classes': 'alert', 'hidden': False, 'lockStrings': [], 'actions': {'showalert': {'notification': 'SHOW_ALERT', 'guessed': True}, 'hidealert': {'notification': 'HIDE_ALERT', 'guessed': True}}} 2024-05-04 16:52:04.649 DEBUG (MainThread) [custom_components.magicmirror] ModuleDataResponse={'index': 1, 'identifier': 'module_1_updatenotification', 'name': 'updatenotification', 'path': 'modules/default/updatenotification/', 'file': 'updatenotification.js', 'position': 'top_bar', 'configDeepMerge': False, 'config': {'updateInterval': 600000, 'refreshInterval': 86400000, 'ignoreModules': [], 'sendUpdatesNotifications': False, 'updates': [], 'updateTimeout': 120000, 'updateAutorestart': False}, 'classes': 'updatenotification', 'hidden': False, 'lockStrings': [], 'actions': {'': {'notification': '', 'guessed': True}}} 2024-05-04 16:52:04.649 DEBUG (MainThread) [custom_components.magicmirror] ModuleDataResponse={'index': 2, 'identifier': 'module_2_clock', 'name': 'clock', 'path': 'modules/default/clock/', 'file': 'clock.js', 'position': 'top_left', 'configDeepMerge': False, 'config': {'displayType': 'digital', 'timeFormat': 24, 'timezone': None, 'displaySeconds': True, 'showPeriod': True, 'showPeriodUpper': False, 'clockBold': False, 'showDate': True, 'showTime': True, 'showWeek': False, 'dateFormat': 'dddd, LL', 'sendNotifications': False, 'analogSize': '200px', 'analogFace': 'simple', 'analogPlacement': 'bottom', 'analogShowDate': 'top', 'secondsColor': '#888888', 'showSunTimes': False, 'showMoonTimes': False, 'lat': 47.630539, 'lon': -122.344147}, 'classes': 'clock', 'hidden': False, 'lockStrings': []} 2024-05-04 16:52:04.649 DEBUG (MainThread) [custom_components.magicmirror] ModuleDataResponse={'index': 3, 'identifier': 'module_3_calendar', 'name': 'calendar', 'path': 'modules/default/calendar/', 'file': 'calendar.js', 'position': 'top_left', 'header': 'Vacaciones Cataluña', 'configDeepMerge': False, 'config': {'maximumEntries': 10, 'maximumNumberOfDays': 365, 'limitDays': 0, 'pastDaysCount': 0, 'displaySymbol': True, 'defaultSymbol': 'calendar-alt', 'defaultSymbolClassName': 'fas fa-fw fa-', 'showLocation': False, 'displayRepeatingCountTitle': False, 'defaultRepeatingCountTitle': '', 'maxTitleLength': 25, 'maxLocationTitleLength': 25, 'wrapEvents': False, 'wrapLocationEvents': False, 'maxTitleLines': 3, 'maxEventTitleLines': 3, 'fetchInterval': 3600000, 'animationSpeed': 2000, 'fade': True, 'fadePoint': 0.25, 'urgency': 7, 'timeFormat': 'relative', 'dateFormat': 'MMM Do', 'dateEndFormat': 'LT', 'fullDayEventDateFormat': 'MMM Do', 'showEnd': False, 'getRelative': 6, 'hidePrivate': False, 'hideOngoing': False, 'hideTime': False, 'hideDuplicates': True, 'showTimeToday': False, 'colored': False, 'forceUseCurrentTime': False, 'tableClass': 'small', 'calendars': [{'fetchInterval': 604800000, 'symbol': 'calendar-check', 'url': 'https://opendata-ajuntament.barcelona.cat/data/dataset/bef03e00-942b-443d-b2e6-d060f5b03cc3/resource/a012bbcd-e88a-4415-8981-48267a55b4a2/download'}], 'customEvents': [{'keyword': '.', 'transform': {'search': 'De verjaardag van ', 'replace': ''}}, {'keyword': '.', 'transform': {'search': "'s birthday", 'replace': ''}}], 'locationTitleReplace': {'street ': ''}, 'broadcastEvents': True, 'excludedEvents': [], 'sliceMultiDayEvents': False, 'broadcastPastEvents': False, 'nextDaysRelative': False, 'selfSignedCert': False, 'coloredText': False, 'coloredBorder': False, 'coloredSymbol': False, 'coloredBackground': False, 'limitDaysNeverSkip': False, 'flipDateHeaderTitle': False, 'updateOnFetch': True}, 'classes': 'calendar', 'hidden': False, 'lockStrings': []} 2024-05-04 16:52:04.649 DEBUG (MainThread) [custom_components.magicmirror] ModuleDataResponse={'index': 4, 'identifier': 'module_4_compliments', 'name': 'compliments', 'path': 'modules/default/compliments/', 'file': 'compliments.js', 'position': 'lower_third', 'configDeepMerge': False, 'config': {'compliments': {'anytime': ['Hola Xavi!¿Qué tal hoy?'], 'morning': ['Buenos días, chavalote!', 'Disfruta de tu día!', 'Se te ve descansado'], 'afternoon': ['Ya queda menos para que acabe el día!', 'Oye, se te ve muy bien!', 'Buenas tardes!'], 'evening': ['Venga, empieza a tocar descansar!', 'Ha sido un día chulo!', 'Buenas noches!']}, 'updateInterval': 30000, 'remoteFile': None, 'fadeSpeed': 4000, 'morningStartTime': 3, 'morningEndTime': 12, 'afternoonStartTime': 12, 'afternoonEndTime': 17, 'random': True}, 'classes': 'compliments', 'hidden': False, 'lockStrings': []} 2024-05-04 16:52:04.649 DEBUG (MainThread) [custom_components.magicmirror] ModuleDataResponse={'index': 5, 'identifier': 'module_5_MMM-DHT-Sensor', 'name': 'MMM-DHT-Sensor', 'path': 'modules/MMM-DHT-Sensor/', 'file': 'MMM-DHT-Sensor.js', 'position': 'top_right', 'header': 'en casa', 'configDeepMerge': False, 'config': {'sensorPin': 17, 'sensorType': 11, 'units': 'metric', 'updateInterval': 3600000, 'animationSpeed': 1000, 'relativeScale': 30, 'roundTemp': False, 'initialLoadDelay': 0, 'retryDelay': 2500}, 'classes': 'MMM-DHT-Sensor', 'hidden': False, 'lockStrings': []} 2024-05-04 16:52:04.650 DEBUG (MainThread) [custom_components.magicmirror] ModuleDataResponse={'index': 6, 'identifier': 'module_6_weather', 'name': 'weather', 'path': 'modules/default/weather/', 'file': 'weather.js', 'position': 'top_right', 'header': 'Previsión para hoy', 'configDeepMerge': False, 'config': {'weatherProvider': 'openweathermap', 'roundTemp': False, 'type': 'current', 'lang': 'es', 'units': 'metric', 'tempUnits': 'metric', 'windUnits': 'Kmh', 'timeFormat': 24, 'updateInterval': 600000, 'animationSpeed': 1000, 'showFeelsLike': True, 'showHumidity': 'temp', 'showIndoorHumidity': False, 'showIndoorTemperature': False, 'allowOverrideNotification': False, 'showPeriod': True, 'showPeriodUpper': False, 'showPrecipitationAmount': False, 'showPrecipitationProbability': 'true', 'showUVIndex': 'true', 'showSun': True, 'showWindDirection': True, 'showWindDirectionAsArrow': False, 'degreeLabel': False, 'decimalSymbol': '.', 'maxNumberOfDays': 5, 'maxEntries': 5, 'ignoreToday': False, 'fade': True, 'fadePoint': 0.25, 'initialLoadDelay': 0, 'appendLocationNameToHeader': True, 'calendarClass': 'calendar', 'tableClass': 'small', 'onlyTemp': False, 'colored': False, 'absoluteDates': False, 'hourlyForecastIncrements': 1, 'location': 'Ordal', 'locationID': '3114996', 'apiKey': '6a007b3c9eb12ebd7851396e49dac192'}, 'classes': 'weather', 'hidden': False, 'lockStrings': [], 'actions': {'calendarevents': {'notification': 'CALENDAR_EVENTS', 'guessed': True}, 'indoortemperature': {'notification': 'INDOOR_TEMPERATURE', 'guessed': True}, 'indoorhumidity': {'notification': 'INDOOR_HUMIDITY', 'guessed': True}, 'currentweatheroverride': {'notification': 'CURRENT_WEATHER_OVERRIDE', 'guessed': True}}} 2024-05-04 16:52:04.650 DEBUG (MainThread) [custom_components.magicmirror] ModuleDataResponse={'index': 7, 'identifier': 'module_7_weather', 'name': 'weather', 'path': 'modules/default/weather/', 'file': 'weather.js', 'position': 'top_right', 'header': 'Previsión a 5 días', 'configDeepMerge': False, 'config': {'weatherProvider': 'openweathermap', 'roundTemp': False, 'type': 'forecast', 'lang': 'es', 'units': 'metric', 'tempUnits': 'metric', 'windUnits': 'metric', 'timeFormat': 24, 'updateInterval': 600000, 'animationSpeed': 1000, 'showFeelsLike': True, 'showHumidity': 'none', 'showIndoorHumidity': False, 'showIndoorTemperature': False, 'allowOverrideNotification': False, 'showPeriod': True, 'showPeriodUpper': False, 'showPrecipitationAmount': False, 'showPrecipitationProbability': False, 'showUVIndex': False, 'showSun': True, 'showWindDirection': True, 'showWindDirectionAsArrow': False, 'degreeLabel': False, 'decimalSymbol': '.', 'maxNumberOfDays': '7', 'maxEntries': 5, 'ignoreToday': False, 'fade': True, 'fadePoint': 0.25, 'initialLoadDelay': 0, 'appendLocationNameToHeader': True, 'calendarClass': 'calendar', 'tableClass': 'small', 'onlyTemp': False, 'colored': 'true', 'absoluteDates': False, 'hourlyForecastIncrements': 1, 'location': 'Ordal', 'locationID': '3114996', 'apiKey': '6a007b3c9eb12ebd7851396e49dac192'}, 'classes': 'weather', 'hidden': False, 'lockStrings': [], 'actions': {'calendarevents': {'notification': 'CALENDAR_EVENTS', 'guessed': True}, 'indoortemperature': {'notification': 'INDOOR_TEMPERATURE', 'guessed': True}, 'indoorhumidity': {'notification': 'INDOOR_HUMIDITY', 'guessed': True}, 'currentweatheroverride': {'notification': 'CURRENT_WEATHER_OVERRIDE', 'guessed': True}}} 2024-05-04 16:52:04.650 DEBUG (MainThread) [custom_components.magicmirror] ModuleDataResponse={'index': 8, 'identifier': 'module_8_newsfeed', 'name': 'newsfeed', 'path': 'modules/default/newsfeed/', 'file': 'newsfeed.js', 'position': 'bottom_bar', 'configDeepMerge': False, 'config': {'feeds': [{'title': 'Actualidad General. Generalitat Cataluña', 'url': 'https://web.gencat.cat/es/actualitat/rss.html'}], 'showAsList': False, 'showSourceTitle': True, 'showPublishDate': True, 'broadcastNewsFeeds': True, 'broadcastNewsUpdates': True, 'showDescription': False, 'showTitleAsUrl': False, 'wrapTitle': True, 'wrapDescription': True, 'truncDescription': True, 'lengthDescription': 400, 'hideLoading': False, 'reloadInterval': 300000, 'updateInterval': 10000, 'animationSpeed': 2500, 'maxNewsItems': 0, 'ignoreOldItems': False, 'ignoreOlderThan': 86400000, 'removeStartTags': '', 'removeEndTags': '', 'startTags': [], 'endTags': [], 'prohibitedWords': [], 'scrollLength': 500, 'logFeedWarnings': False, 'dangerouslyDisableAutoEscaping': False}, 'classes': 'newsfeed', 'hidden': False, 'lockStrings': [], 'actions': {'articlenext': {'notification': 'ARTICLE_NEXT', 'guessed': True}, 'articleprevious': {'notification': 'ARTICLE_PREVIOUS', 'guessed': True}, 'articlemoredetails': {'notification': 'ARTICLE_MORE_DETAILS', 'guessed': True}, 'articlescrollup': {'notification': 'ARTICLE_SCROLL_UP', 'guessed': True}, 'articlelessdetails': {'notification': 'ARTICLE_LESS_DETAILS', 'guessed': True}, 'articletogglefull': {'notification': 'ARTICLE_TOGGLE_FULL', 'guessed': True}, 'articleinforequest': {'notification': 'ARTICLE_INFO_REQUEST', 'guessed': True}}} 2024-05-04 16:52:04.650 DEBUG (MainThread) [custom_components.magicmirror] ModuleDataResponse={'index': 9, 'identifier': 'module_9_MMM-Remote-Control', 'name': 'MMM-Remote-Control', 'path': 'modules/MMM-Remote-Control/', 'file': 'MMM-Remote-Control.js', 'position': 'bottom_left', 'configDeepMerge': False, 'config': {'customCommand': {}, 'showModuleApiMenu': True, 'secureEndpoints': True, 'apiKey': 'bc2e979db92f4741afad01d5d18eb8e2'}, 'classes': 'MMM-Remote-Control', 'hidden': False, 'lockStrings': []} 2024-05-04 16:52:04.650 DEBUG (MainThread) [custom_components.magicmirror] Finished fetching magicmirror data in 1.166 seconds (success: True) 2024-05-04 16:52:04.651 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry 192.168.1.70 for magicmirror Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 575, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/magicmirror/init.py", line 53, in async_setup_entry hass.config_entries.async_setup_platforms(entry, PLATFORMS) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms'. Did you mean: 'async_unload_platforms'?

xmartorell commented 2 months ago

Hi again

Here you have the main error

2024-05-05 09:16:35.091 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry 192.168.1.70 for magicmirror Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 575, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/magicmirror/init.py", line 53, in async_setup_entry hass.config_entries.async_setup_platforms(entry, PLATFORMS) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms'. Did you mean: 'async_unload_platforms