2021.12: New configuration menu, the button entity, and gorgeous area cards!

some devices present in the xiaomi miio integration are not working with the latest release of home assistant. robot vacuum and chuangmi.plug.m1 are no longer functional. some problem with this integration

Logger: homeassistant.config_entries
Source: components/xiaomi_miio/init.py:465
First occurred: 12:07:32 (1 occurrences)
Last logged: 12:07:32

Error unloading entry chuangmi.plug.m1 for xiaomi_miio
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 452, in async_unload
result = await component.async_unload_entry(hass, self) # type: ignore
File “/usr/src/homeassistant/homeassistant/components/xiaomi_miio/init.py”, line 465, in async_unload_entry
hass.data[DOMAIN].pop(config_entry.entry_id)
KeyError: ‘64f903fc67b6027e7420946d0b28bd0e’

smappee have problem to load

2 Likes

Just upgraded to 2021.12. It looks like the upgrade was succesful. BUT then I saw my add-ons where not running and also the supervisor container stopped working.

I tried to manually start the supervisior, but it stopped itself. I also tried to reboot the complete host, with no succes.

When I look in the supervisor I didn’t see any error or fatal messages. See log below.

Last I tried to reinstall supervisior with the installer.sh script. But that script doesn’t exist anymore.
sudo curl -Lo installer.sh https://raw.githubusercontent.com/home-assistant/supervised-installer/master/installer.sh
sudo bash installer.sh --machine qemux86-64

I’am running on a Debian host (11.1) with all updates etc installed. Anyone who can help me looking in the right direction?

[10:10:39] INFO: Using udev information from host
[cont-init.d] udev.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[10:10:39] INFO: Starting local supervisor watchdog...
21-12-12 10:10:39 INFO (MainThread) [__main__] Initializing Supervisor setup
21-12-12 10:10:39 INFO (MainThread) [supervisor.bootstrap] Initializing Supervisor Sentry
21-12-12 11:10:39 INFO (MainThread) [supervisor.bootstrap] Seting up coresys for machine: qemux86-64
21-12-12 11:10:39 INFO (SyncWorker_0) [supervisor.docker.supervisor] Attaching to Supervisor homeassistant/amd64-hassio-supervisor with version 2021.12.1
21-12-12 11:10:39 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
21-12-12 11:10:39 WARNING (SyncWorker_1) [supervisor.docker.interface] Can't find homeassistant/amd64-hassio-supervisor for cleanup
21-12-12 11:10:39 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.INITIALIZE
21-12-12 11:10:39 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
21-12-12 11:10:39 INFO (MainThread) [__main__] Setting up Supervisor
21-12-12 11:10:40 INFO (MainThread) [supervisor.api] Starting API on 172.30.32.2
21-12-12 11:10:40 INFO (MainThread) [supervisor.hardware.monitor] Started Supervisor hardware monitor
21-12-12 11:10:40 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface io.hass.os
21-12-12 11:10:40 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface org.freedesktop.systemd1
21-12-12 11:10:40 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface org.freedesktop.login1
21-12-12 11:10:40 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface org.freedesktop.hostname1
21-12-12 11:10:40 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface org.freedesktop.timedate1
21-12-12 11:10:40 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface org.freedesktop.NetworkManager
21-12-12 11:10:40 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface de.pengutronix.rauc
21-12-12 11:10:40 WARNING (MainThread) [supervisor.dbus.manager] Can't load dbus interface de.pengutronix.rauc: The name de.pengutronix.rauc was not provided by any .service files
21-12-12 11:10:40 INFO (MainThread) [supervisor.host.info] Updating local host information
21-12-12 11:10:40 INFO (MainThread) [supervisor.host.services] Updating service information
21-12-12 11:10:40 INFO (MainThread) [supervisor.host.network] Updating local network information
21-12-12 11:10:40 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
21-12-12 11:10:40 INFO (MainThread) [supervisor.host.manager] Host information reload completed
21-12-12 11:10:40 INFO (MainThread) [supervisor.host.apparmor] Loading AppArmor Profiles: {'hassio-supervisor'}
21-12-12 11:10:40 INFO (SyncWorker_1) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/amd64-hassio-cli with version 2021.09.0
21-12-12 11:10:40 INFO (SyncWorker_1) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/amd64-hassio-dns with version 2021.06.0
21-12-12 11:10:40 INFO (MainThread) [supervisor.plugins.dns] Updated /etc/resolv.conf
21-12-12 11:10:40 INFO (SyncWorker_1) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/amd64-hassio-audio with version 2021.07.0
21-12-12 11:10:40 INFO (SyncWorker_1) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/amd64-hassio-observer with version 2021.10.0
21-12-12 11:10:40 INFO (SyncWorker_1) [supervisor.docker.interface] Attaching to homeassistant/amd64-hassio-multicast with version 2021.04.0
21-12-12 11:10:40 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
21-12-12 11:10:40 INFO (MainThread) [supervisor.homeassistant.secrets] Loaded 27 Home Assistant secrets
21-12-12 11:10:40 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/qemux86-64-homeassistant with version 2021.12.0
21-12-12 11:10:41 INFO (MainThread) [supervisor.os.manager] No Home Assistant Operating System found
21-12-12 11:10:41 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/cebe7a76 repository
21-12-12 11:10:41 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/core repository
21-12-12 11:10:41 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/a0d7b954 repository
21-12-12 11:10:41 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/15ef4d2f repository
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] udev.sh: executing... 
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.

you need to enable them - rooms are enabled automatically, but zones are imported as disabled entities. simple to fix but took me whole morning

AFTER UPGRADE core_2021.11.5 Problems with SKY and Spotcast

This is the log i i try to rebbot

[2662119480] The system cannot restart because the configuration is not valid:
Platform error media_player.skyq - cannot import name ‘HTTP_OK’ from ‘homeassistant.const’ (/usr/src/homeassistant/homeassistant/const.py)

13:14:32 – (ERRORE) Home Assistant WebSocket API - il messaggio si è verificato per la prima volta alle 12:43:42 e compare 4 volte
The system cannot restart because the configuration is not valid:
Platform error media_player.skyq - cannot import name ‘HTTP_OK’ from ‘homeassistant.const’ (/usr/src/homeassistant/homeassistant/const.py)

13:14:32 – (ERRORE) Home Assistant Supervisor - il messaggio si è verificato per la prima volta alle 12:43:42 e compare 4 volte
Update for sensor.chromecast_devices fails

13:14:13 – (ERRORE) Spotcast (integrazione personalizzata) - il messaggio si è verificato per la prima volta alle 11:45:13 e compare 90 volte
[2736038216] Error handling message: Unknown error

13:14:10 – (ERRORE) Home Assistant WebSocket API (integrazione personalizzata) - il messaggio si è verificato per la prima volta alle 12:05:55 e compare 29 volte

Logger: homeassistant.components.websocket_api.http.connection
Source: components/hassio/init.py:599
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 12:43:42 (4 occurrences)
Last logged: 13:14:32

  • [2662119480] The system cannot restart because the configuration is not valid: Platform error media_player.skyq - cannot import name ‘HTTP_OK’ from ‘homeassistant.const’ (/usr/src/homeassistant/homeassistant/const.py) Platform error media_player.skyq - cannot import name ‘HTTP_OK’ from ‘homeassistant.const’ (/usr/src/homeassistant/homeassistant/const.py) Platform error media_player.skyq - cannot import name ‘HTTP_OK’ from ‘homeassistant.const’ (/usr/src/homeassistant/homeassistant/const.py)
  • [2670081360] The system cannot restart because the configuration is not valid: Platform error media_player.skyq - cannot import name ‘HTTP_OK’ from ‘homeassistant.const’ (/usr/src/homeassistant/homeassistant/const.py) Platform error media_player.skyq - cannot import name ‘HTTP_OK’ from ‘homeassistant.const’ (/usr/src/homeassistant/homeassistant/const.py) Platform error media_player.skyq - cannot import name ‘HTTP_OK’ from ‘homeassistant.const’ (/usr/src/homeassistant/homeassistant/const.py)
  • [2649093288] The system cannot restart because the configuration is not valid: Platform error media_player.skyq - cannot import name ‘HTTP_OK’ from ‘homeassistant.const’ (/usr/src/homeassistant/homeassistant/const.py) Platform error media_player.skyq - cannot import name ‘HTTP_OK’ from ‘homeassistant.const’ (/usr/src/homeassistant/homeassistant/const.py) Platform error media_player.skyq - cannot import name ‘HTTP_OK’ from ‘homeassistant.const’ (/usr/src/homeassistant/homeassistant/const.py)

Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py”, line 185, in handle_call_service await hass.services.async_call( File “/usr/src/homeassistant/homeassistant/core.py”, line 1495, in async_call task.result() File “/usr/src/homeassistant/homeassistant/core.py”, line 1530, in _execute_service await handler.job.target(service_call) File “/usr/src/homeassistant/homeassistant/components/hassio/init.py”, line 599, in async_handle_core_service raise HomeAssistantError( homeassistant.exceptions.HomeAssistantError: The system cannot restart because the configuration is not valid: Platform error media_player.skyq - cannot import name ‘HTTP_OK’ from ‘homeassistant.const’ (/usr/src/homeassistant/homeassistant/const.py) Platform error media_player.skyq - cannot import name ‘HTTP_OK’ from ‘homeassistant.const’ (/usr/src/homeassistant/homeassistant/const.py) Platform error media_player.skyq - cannot import name ‘HTTP_OK’ from ‘homeassistant.const’ (/usr/src/homeassistant/homeassistant/const.py)


If i try to instal SKYQ integration I have an error “The configuration flow cannot be loaded”

Sorry, how to enable? Remove and add hue integration (with enabled zones this time)?

Same thing with the philips candle bulb. It’s not showing up after upgrading to this version of HA

xiaomi_miio: Error on device update!
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 431, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 684, in async_device_update
    await task
  File "/usr/src/homeassistant/homeassistant/components/xiaomi_miio/light.py", line 502, in async_update
    self._color_temp = self.translate(
  File "/usr/src/homeassistant/homeassistant/components/xiaomi_miio/light.py", line 521, in translate
    value_scaled = float(value - left_min) / float(left_span)
TypeError: unsupported operand type(s) for -: 'NoneType' and 'int'
5 Likes

Anyone else having trouble with Philips Hue lights no longer flashing with the flash command? They just turn on. Also the effects for Hue bulbs are gone, we used to have random and colorloop and now there are no effects anymore.

Is the new area card not available in the Lovelace yaml mode? Don’t see any documentation at the Lovelace card docu.

Just go to the Configuration - > Devices and Services click on entities in Hue integration to filter them, on the right up corner check Show disabled entities and the Zones will be listed there as disabled. Just enable them there.

2 Likes

Not any help for you but for whoever is debugging the issue, the Lifx flash effect still works as expected. So the issue is local to the hue integration.

Its not an official addon, so there will not be anything in release notes about it

1 Like

And it was removed well before this update.

No need to re-add the integration. Just go to Configuration → Devices and services. Click on the “xxx entities” link in the Hue integration. Select the entities you want to enable and click on the enable button (arrow sign).

This way, I enabled the zones, which were defined in the official Hue app. However, I also have some zones, which were defined in the Hue Essentials app. Unfortunately, these Hue Essential zones are not listed anymore in the integration (I’ve used these zones for about a year in the previous HA versions)…

Can only agree. Everything is now at leat one MORE click away. Even if I will memorize, where to find, what I was used to before.

Quick look in die LOG, one more click, quick jump to the entities, one more click.

And this without any need. If the reason is, that a normal user will not often use this things, then the same answer is, that this same user will not even use the whole menu often, so it should stay as a menu, where I can directy open and click, what I want.

Really a bad decision. Is really noone double checking such changes on usability?

13 Likes

I agree that more clicks is not an improvement. Lately there seems to be a trend of hiding information behind more clicks to “improve usability” (sometimes off one person’s impression), when of course having to click load click load is a big reduction in usability. For example hiding Attributes in a collapsed dropdown. Dozens, sometimes hundreds of extra click-wait-load-clicks every day. To what? To display less information by default. If someone really wants to display less information on some sensor, they could make a template sensor to display it without the attributes.

5 Likes

Hi. How do you enable the new GUI/Look feel?

My HA looks to have upgraded without issues (its a very basic setup) but i’m still seeing the old config menu gui etc…

I believe Nabu Casa hired one person in August to work on usability. I expect they are swamped with the needed workload.

Isn’t this a pity or a strong vote, if already more than 20 users in this new and short thread gave a like to a link how to bring back more usability? And it should be clear, that these are this users, who play around often with HA and read this post very early.

It is a great recommendation, but at the end of the day, it will be needed to mitigate the latest menu changes. And then to bring level 2 items, which are on level 3 in latest release now on level 1.

But should this really be necessary? Or better changed back / improved in standard? :wink:

1 Like

I had a similar experience. I did a core update in Home Assistant Command Line Interface and after that it worked.
Did you check if the first update really completed. In my case I was still in 2021.11.5 but was unable to restart core and unable to reach Supervisor.

Community addons are not managed by the team. Changes to them will not be in the release notes. Home assistants team will only mention official addon changes.

4 Likes