Log error after updating a docker image

Hello, i have just succesfully updated on synology nas a docker Home Assistant container from 0.60.1 to 0.62.1.

Everything is working fine but i’m receiving new errors in the log. Does someone understand where does it come from?

2018-02-03 14:58:23 ERROR (MainThread) [homeassistant.setup] Error during setup of component customizer
Traceback (most recent call last):
  File "/usr/src/app/homeassistant/setup.py", line 196, in _async_setup_component
    result = yield from component.async_setup(hass, processed_config)
  File "/config/custom_components/customizer/__init__.py", line 88, in async_setup
    yield from component.async_add_entity(CustomizerEntity(config[DOMAIN]))
AttributeError: 'EntityComponent' object has no attribute 'async_add_entity'
2018-02-03 14:59:01 WARNING (MainThread) [homeassistant.components.media_player] Setup of platform cast is taking over 10 seconds.
2018-02-03 15:06:22 ERROR (MainThread) [frontend.js.latest.201801300] data:text/javascript;charset=utf-8,window.customUI%3Dwindow.customUI%7C%7C%7BVERSION%3A%2220180117%22%2CSUPPORTED_SLIDER_MODES%3A%5B%22single-line%22%2C%22break-slider%22%2C%22break-slider-toggle%22%2C%22hide-slider%22%2C%22no-slider%22%5D%2CdomHost(t)%7Bif(t%3D%3D%3Ddocument)return%20null%3Bconst%20e%3Dt.getRootNode()%3Breturn%20e%20instanceof%20DocumentFragment%3Fe.host%3Ae%7D%2ClightOrShadow%3A(t%2Ce)%3D%3Et.shadowRoot%3Ft.shadowRoot.querySelector(e)%3At.querySelector(e)%2CgetElementHierarchy(t%2Ce)%7Bif(null%3D%3D%3Dt)return%20null%3Bconst%20s%3De.shift()%3Breturn%20s%3Fwindow.customUI.getElementHierarchy(window.customUI.lightOrShadow(t%2Cs)%2Ce)%3At%7D%2CgetContext(t)%7Bif(void%200%3D%3D%3Dt._context)%7Bt._context%3D%5B%5D%3Bfor(let%20e%3D%22HA-ENTITIES-CARD%22%3D%3D%3Dt.tagName%3Fwindow.customUI.domHost(t)%3At%3Be%3Be%3Dwindow.customUI.domHost(e))switch(e.tagName)%7Bcase%22HA-ENTITIES-CARD%22%3Ae.groupEntity%3Ft._context.push(e.groupEntity.entity_id)%3A!1%3D%3D%3De.groupEntity%26%26e.states%26%26e.states.length%26%26t._context.push(%60group.%24%7Bwindow.hassUtil.computeDomain(e.states%5B0%5D)%7D%60)%3Bbreak%3Bcase%22MORE-INFO-GROUP%22%3Acase%22STATE-CARD-CONTENT%22%3Ae.stateObj%26%26t._context.push(e.stateObj.entity_id)%3Bbreak%3Bcase%22HA-CARDS%22%3At._context.push(e.getAttribute(%22data-view%22)%7C%7C%22default_view%22)%7Dt._context.reverse()%7Dreturn%20t._context%7D%2CfindMatch%3A(t%2Ce)%3D%3Ee%3Fe%5Bt%5D%3Ft%3AObject.keys(e).find(e%3D%3Et.match(%60%5E%24%7Be%7D%24%60))%3Anull%2CmaybeChangeObjectByDevice(t)%7Bconst%20e%3Dwindow.customUI.getName()%3Bif(!e)return%20t%3Bconst%20s%3Dthis.findMatch(e%2Ct.attributes.device)%3Bif(!s)return%20t%3Bconst%20o%3DObject.assign(%7B%7D%2Ct.attributes.device%5Bs%5D)%3Breturn%20Object.keys(o).length%3Fwindow.customUI.applyAttributes(t%2Co)%3At%7D%2CmaybeChangeObjectByGroup(t%2Ce)%7Bconst%20s%3Dwindow.customUI.getContext(t)%3Bif(!s)return%20e%3Bif(!e.attributes.group)return%20e%3Bconst%20o%3D%7B%7D%3Breturn%20s.forEach(t%3D%3E%7Bconst%20s%3Dthis.findMatch(t%2Ce.attributes.group)%3Be.attributes.group%5Bs%5D%26%26Object.assign(o%2Ce.attributes.group%5Bs%5D)%7D)%2CObject.keys(o).length%3Fwindow.customUI.applyAttributes(e%2Co)%3Ae%7D%2C_setKeep(t%2Ce)%7Bvoid%200%3D%3D%3Dt._cui_keep%3Ft._cui_keep%3De%3At._cui_keep%3Dt._cui_keep%26%26e%7D%2CmaybeApplyTemplateAttributes(t%2Ce%2Cs%2Co)%7Bif(!o.templates)return%20window.customUI._setKeep(s%2C!0)%2Cs%3Bconst%20i%3D%7B%7D%3Blet%20n%3D!1%2Ca%3D!1%3Bif(Object.keys(o.templates).forEach(r%3D%3E%7Bconst%20c%3Do.templates%5Br%5D%3Bc.match(%2F%5Cb(entities%7Chass)%5Cb%2F)%26%26(n%3D!0)%3Bconst%20u%3Dwindow.customUI.computeTemplate(c%2Ct%2Ce%2Cs%2Co%2Co%5Br%5D%2Cs.state)%3Bi%5Br%5D%3Du%2C%22state%22%3D%3D%3Dr%3Fu!%3D%3Ds.state%26%26(a%3D!0)%3A%22_stateDisplay%22%3D%3D%3Dr%3Fu!%3D%3Ds._stateDisplay%26%26(a%3D!0)%3Au!%3D%3Do%5Br%5D%26%26(a%3D!0)%7D)%2Cwindow.customUI._setKeep(s%2C!n)%2C!a)return%20s%3Bif(s.attributes%3D%3D%3Do)%7Bconst%20t%3Dwindow.customUI.applyAttributes(s%2Ci)%3Breturn%20Object.prototype.hasOwnProperty.call(i%2C%22state%22)%26%26(t.state%3Di.state)%2CObject.prototype.hasOwnProperty.call(i%2C%22_stateDisplay%22)%26%26(t._stateDisplay%3Di._stateDisplay)%2Cwindow.customUI._setKeep(t%2C!n)%2Ct%7Dreturn%20Object.assign(%7B%7D%2Cs)%7D%2CmaybeApplyTemplates(t%2Ce%2Cs)%7Bconst%20o%3Dwindow.customUI.maybeApplyTemplateAttributes(t%2Ce%2Cs%2Cs.attributes)%3Blet%20i%3Do!%3D%3Ds%3Bfunction%20n(s)%7Bs%26%26(Object.values(s).forEach(s%3D%3E%7Bconst%20n%3Dwindow.customUI.maybeApplyTemplateAttributes(t%2Ce%2Co%2Cs)%3Bi%7C%3Dn!%3D%3Do%7D)%2Cn(s.device)%2Cn(s.group))%7Dreturn%20n(s.attributes.device)%2Cn(s.attributes.group)%2Co!%3D%3Ds%3Fo%3Ai%3FObject.assign(%7B%7D%2Cs)%3As%7D%2CapplyAttributes%3A(t%2Ce)%3D%3E(%7Bentity_id%3At.entity_id%2Cstate%3At.state%2Cattributes%3AObject.assign(%7B%7D%2Ct.attributes%2Ce)%2Clast_changed%3At.last_changed%7D)%2CmaybeChangeObject(t%2Ce%2Cs%2Co)%7Bif(s)return%20e%3Blet%20i%3Dwindow.customUI.maybeChangeObjectByDevice(e)%3Breturn%20i%3Dwindow.customUI.maybeChangeObjectByGroup(t%2Ci)%2C(i%3Dwindow.customUI.maybeApplyTemplateAttributes(t.hass%2Ct.hass.states%2Ci%2Ci.attributes))!%3D%3De%26%26i.attributes.hidden%26%26o%3Fnull%3Ai%7D%2CfixGroupTitles()%7Bconst%20t%3Dwindow.customUI.getElementHierarchy(document%2C%5B%22home-assistant%22%2C%22home-assistant-main%22%5D)%3Bif(null%3D%3D%3Dt)return%20void%20window.setTimeout(window.customUI.fixGroupTitles%2C1e3)%3Bconst%20e%3Dwindow.customUI.getElementHierarchy(t%2C%5B%22partial-cards%22%2C%22ha-cards%5Bview-visible%5D%22%5D)%3Bnull!%3D%3De%26%26window.customUI.lightOrShadow(e%2C%22.main%22).querySelectorAll(%22ha-entities-card%22).forEach(t%3D%3E%7Bif(t.groupEntity)%7Bconst%20e%3Dwindow.customUI.maybeChangeObject(t%2Ct.groupEntity%2C!1%2C!1)%3Bif(e!%3D%3Dt.groupEntity%26%26e.attributes.friendly_name)window.customUI.lightOrShadow(t%2C%22.name%22).textContent%3De.attributes.friendly_name%7D%7D)%7D%2CshowVersion()%7Bif(%22%2Fdev-info%22!%3D%3Dwindow.location.pathname)return%3Bconst%20t%3Dwindow.customUI.getElementHierarchy(document%2C%5B%22home-assistant%22%2C%22home-assistant-main%22%2C%22partial-panel-resolver%22%2C%22ha-panel-dev-info%22%5D)%3Bif(null%3D%3D%3Dt)return%20void%20window.setTimeout(window.customUI.showVersion%2C1e3)%3Bconst%20e%3Dwindow.customUI.lightOrShadow(t%2C%22.about%22)%2Cs%3De.querySelectorAll(%22p%22)%5B1%5D%2Co%3Ddocument.createElement(%22p%22)%3Bo.textContent%3D%60Custom%20UI%20%24%7Bwindow.customUI.VERSION%7D%60%2Ce.insertBefore(o%2Cs)%7D%2CcontrolColumns(t)%7Bconst%20e%3Dwindow.customUI.getElementHierarchy(document%2C%5B%22home-assistant%22%2C%22home-assistant-main%22%2C%22partial-cards%22%5D)%3Bnull!%3D%3De%3F(e.mqls.forEach(t%3D%3E%7Bt.removeListener(e.handleWindowChange)%7D)%2Ce.mqls%3Dt.map(t%3D%3E%7Bconst%20s%3Dwindow.matchMedia(%60(min-width%3A%20%24%7Bt%7Dpx)%60)%3Breturn%20s.addListener(e.handleWindowChange)%2Cs%7D)%2Ce.handleWindowChange())%3Awindow.setTimeout(window.customUI.controlColumns.bind(null%2Ct)%2C1e3)%7D%2CuseCustomizer()%7Bconst%20t%3Dwindow.customUI.lightOrShadow(document%2C%22home-assistant%22).hass.states%5B%22customizer.customizer%22%5D%3Bt%26%26(t.attributes.columns%26%26window.customUI.controlColumns(t.attributes.columns)%2Ct.attributes.hide_attributes%26%26(window.hassUtil.LOGIC_STATE_ATTRIBUTES%26%26Array.prototype.push.apply(window.hassUtil.LOGIC_STATE_ATTRIBUTES%2Ct.attributes.hide_attributes)%2Cwindow.hassAttributeUtil.LOGIC_STATE_ATTRIBUTES%26%26t.attributes.hide_attributes.forEach(t%3D%3E%7BObject.prototype.hasOwnProperty.call(window.hassAttributeUtil.LOGIC_STATE_ATTRIBUTES%2Ct)%7C%7C(window.hassAttributeUtil.LOGIC_STATE_ATTRIBUTES%5Bt%5D%3Dvoid%200)%7D)))%7D%2CupdateAttributes()%7Bconst%20t%3D%7Bgroup%3Avoid%200%2Cdevice%3Avoid%200%2Ctemplates%3Avoid%200%2Cstate_card_mode%3A%7Btype%3A%22array%22%2Coptions%3A%7Blight%3Awindow.customUI.SUPPORTED_SLIDER_MODES.concat(%22badges%22)%2Ccover%3Awindow.customUI.SUPPORTED_SLIDER_MODES.concat(%22badges%22)%2C%22*%22%3A%5B%22badges%22%5D%7D%7D%2Cstate_card_custom_ui_secondary%3A%7Btype%3A%22string%22%7D%2Cbadges_list%3A%7Btype%3A%22json%22%7D%2Cshow_last_changed%3A%7Btype%3A%22boolean%22%7D%2Chide_control%3A%7Btype%3A%22boolean%22%7D%2Cextra_data_template%3A%7Btype%3A%22string%22%7D%2Cextra_badge%3A%7Btype%3A%22json%22%7D%2Cstretch_slider%3A%7Btype%3A%22boolean%22%7D%2Cslider_theme%3A%7Btype%3A%22json%22%7D%2Ctheme%3A%7Btype%3A%22string%22%7D%2Cconfirm_controls%3A%7Btype%3A%22boolean%22%7D%2Cconfirm_controls_show_lock%3A%7Btype%3A%22boolean%22%7D%2Chide_in_default_view%3A%7Btype%3A%22boolean%22%7D%7D%3Bwindow.hassUtil.LOGIC_STATE_ATTRIBUTES%26%26Array.prototype.push.apply(window.hassUtil.LOGIC_STATE_ATTRIBUTES%2CObject.keys(t))%2Cwindow.hassAttributeUtil.LOGIC_STATE_ATTRIBUTES%26%26Object.assign(window.hassAttributeUtil.LOGIC_STATE_ATTRIBUTES%2Ct)%7D%2CupdateConfigPanel()%7Bif(!window.location.pathname.startsWith(%22%2Fconfig%22))return%3Bconst%20t%3Dwindow.customUI.getElementHierarchy(document%2C%5B%22home-assistant%22%2C%22home-assistant-main%22%2C%22partial-panel-resolver%22%2C%22ha-panel-config%22%5D)%3Bif(!t)return%20void%20window.setTimeout(window.customUI.updateConfigPanel%2C1e3)%3Bconst%20e%3Dwindow.customUI.lightOrShadow(t%2C%22iron-pages%22)%3Bif(!e)return%3Bconst%20s%3Dwindow.customUI.getElementHierarchy(t%2C%5B%22ha-config-dashboard%22%2C%22ha-config-navigation%22%5D)%3Bif(s)%7Bif(%22HA-CONFIG-CUSTOM-UI%22!%3D%3De.lastElementChild.tagName)%7Bconst%20t%3Ddocument.createElement(%22ha-config-custom-ui%22)%3Bt.isWide%3Dwindow.customUI.domHost(e).isWide%2Ct.setAttribute(%22page-name%22%2C%22customui%22)%2Ce.appendChild(t)%2Ce.addEventListener(%22iron-items-changed%22%2C()%3D%3E%7Bwindow.location.pathname.startsWith(%22%2Fconfig%2Fcustomui%22)%26%26e.select(%22customui%22)%7D)%7Ds.pages.some(t%3D%3E%22customui%22%3D%3D%3Dt.domain)%7C%7Cs.push(%22pages%22%2C%7Bdomain%3A%22customui%22%2Ccaption%3A%22Custom%20UI%22%2Cdescription%3A%22Set%20UI%20tweaks.%22%2Cloaded%3A!0%7D)%7D%7D%2CinstallStatesHook()%7Bconst%20t%3DcustomElements.get(%22home-assistant%22)%3Bif(!t%7C%7C!t.prototype._updateHass)return%3Bconst%20e%3Dt.prototype._updateHass%3Bt.prototype._updateHass%3Dfunction(t)%7Bconst%7Bhass%3As%7D%3Dthis%3Bt.states%26%26Object.keys(t.states).forEach(e%3D%3E%7Bconst%20o%3Dt.states%5Be%5D%3Bif(o._cui_keep)return%3Bconst%20i%3Dwindow.customUI.maybeApplyTemplates(s%2Ct.states%2Co)%3Bs.states%26%26o!%3D%3Ds.states%5Be%5D%3Ft.states%5Be%5D%3Di%3Ao!%3D%3Di%26%26(t.states%5Be%5D%3Di)%7D)%2Ce.call(this%2Ct)%7D%3Bconst%20s%3Dwindow.customUI.lightOrShadow(document%2C%22home-assistant%22)%3Bs.hass%26%26s.hass.states%26%26s._updateHass(%7Bstates%3As.hass.states%7D)%7D%2CinstallPartialCards()%7Bconst%20t%3DcustomElements.get(%22partial-cards%22)%3Bt%26%26t.prototype._defaultViewFilter%26%26(t.prototype._defaultViewFilter%3D((t%2Ce)%3D%3E%7Bif(t.states%5Be%5D.attributes.hidden)return!1%3Bconst%20s%3D%7B%7D%3Breturn%20Object.values(t.states).forEach(e%3D%3E%7Bif(e.attributes%26%26e.attributes.hide_in_default_view)%7Bconst%20o%3De.entity_id%3Bif(s%5Bo%5D)return%3Bs%5Bo%5D%3De%2Ce.attributes.view%26%26Object.assign(s%2Cwindow.HAWS.getViewEntities(t.states%2Ce))%7D%7D)%2C!s%5Be%5D%7D))%7D%2CinstallClassHooks()%7Bwindow.customUI.classInitDone%7C%7C(window.customUI.classInitDone%3D!0%2Cwindow.customUI.installPartialCards()%2Cwindow.customUI.installStatesHook())%7D%2Cinit()%7Bif(window.customUI.initDone)return%3Bwindow.customUI.installClassHooks()%3Bconst%20t%3Dwindow.customUI.lightOrShadow(document%2C%22home-assistant%22)%3Bt.hass%26%26t.hass.states%3F(window.customUI.initDone%3D!0%2Cwindow.customUI.useCustomizer()%2Cwindow.customUI.runHooks()%2Cwindow.addEventListener(%22location-changed%22%2Cwindow.setTimeout.bind(null%2Cwindow.customUI.runHooks%2C100))%2Cconsole.log(%60Loaded%20CustomUI%20%24%7Bwindow.customUI.VERSION%7D%60))%3Awindow.setTimeout(window.customUI.init%2C1e3)%7D%2CrunHooks()%7Bwindow.customUI.fixGroupTitles()%2Cwindow.customUI.showVersion()%2Cwindow.customUI.updateAttributes()%2Cwindow.customUI.updateConfigPanel()%7D%2CgetName%3A()%3D%3Ewindow.localStorage.getItem(%22ha-device-name%22)%7C%7C%22%22%2CsetName(t)%7Bwindow.localStorage.setItem(%22ha-device-name%22%2Ct%7C%7C%22%22)%7D%2CcomputeTemplate(t%2Ce%2Cs%2Co%2Ci%2Cn%2Ca)%7Bconst%20r%3Dt.indexOf(%22return%22)%3E%3D0%3Ft%3A%60return%20%5C%60%24%7Bt%7D%5C%60%3B%60%3Btry%7Breturn%20new%20Function(%22hass%22%2C%22entities%22%2C%22entity%22%2C%22attributes%22%2C%22attribute%22%2C%22state%22%2Cr)(e%2Cs%2Co%2Ci%2Cn%2Ca)%7Dcatch(t)%7Bif(t%20instanceof%20SyntaxError%7C%7Ct%20instanceof%20ReferenceError)return%20console.warn(%60%24%7Bt.name%7D%3A%20%24%7Bt.message%7D%20in%20template%20%24%7Br%7D%60)%2Cnull%3Bthrow%20t%7D%7D%7D%2Cwindow.customUI.init()%3B%0A%2F%2F%23%20sourceURL%3Dhttp%3A%2F%2F192.168.0.12%3A8123%2Flocal%2Fcustom_ui%2Fstate-card-custom-ui.html.js%0A:0:0 Script error.

Any help could be awsome.

Thank you.

Sorry for the double post i have found the solution in the forum.

I had to update the customizer component and the custom_ui elements.

Thank you.

Wish you would tell where :frowning:
Searching … and not finding the solution…

… and then I found it … :slight_smile: