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

No I am using the default Lovelace cards!


I will check the other thread after work.

I have a lot of devices connected to deconz which stopped working like all the Xiaomi Zigbee Sensors and devices.

Additionally i only see hue (through deconz/conbee2) light groups, but not the individual lights like before.

Is this a bug?

2 Likes

That’s not a switch. That’s a group.

Yes, it’s true, but it’s the consequence only. It all starts from the fact that API/framework changes very often. Likely custom components get more hits since they share the framework with core integrations. 3rd party devs are aware about this so it’s their responsibility. But still it doesn’t look nice (even for someone who doesn’t experience problems) if so many things fail every month. Also it might be discouraging for mentioned 3rd party developers. Some stability in this regard would help us all.

7 Likes

Exactly the same here with Hikvision and Dahua cams intergrated with HA through Onvif.

1 Like

This is true not only for docker hub, but also for the official ghcr package:
ghcr.io/home-assistant/raspberrypi4-homeassistant:stable still points to 2021.11.5: Package raspberrypi4-homeassistant · GitHub

https://version.home-assistant.io/stable.json lists 2021.12.1 as stable, so I think this is a bug.

There is a thread that discussed this and offers a workaround: 2021.12.0 container not being pulled

You’re right. I don’t see any documentation yet either.

Yes, you could have :wink: Or, preferably, the developer for ShellyForHASS. has he abandoned that addon? That is quite common.

I have opened an issue for this:

The API rarely for home assistant rarely changes. I have custom integrations I built for myself that only use the Home assistant API (No dependencies) and I haven’t had to update them in 4 years. Failures come from dependency updates or API miss use. Typically custom integrations are custom because they do not conform with coding standards set by the ADRs in home assistant. E.g. It’s a web scrape, password stored in plane text, dev doesn’t want to write test cases, the api used to talk to the devices are unofficial and changes frequently, etc.

If home assistant changes the API, it’s announced and there are deprecation warnings that last 3 to 6 months before the deprecation occurs.

95% of the time, if a custom integration doesn’t work, a dependency was updated and the custom integration does not work with the newly updated dependency. And just for clarification, dependencies are outside of Home Assistant.

3 Likes

That won’t make it through. Template sensors using timestamps now need to provide the state with a timestamp or a datetime object. Fix your tempaltes to output a datetime object.


        state: "{{ states('input_datetime.front_door_lock_last_activity') | as_timestamp(default=now()) }}"
3 Likes

For me creating automations broke in firefox (both when creating an empty new automation and when starting from a template). The Automation editor briefly flashes on the screen before i see the automation list again.

DevTools show the following error:

Error: getTranslators: detection is already running translate.js:1112:45

EDIT: Yeah, clearing all website data fixed it. Once.

refresh your page and clear your cache

1 Like

I got it working by using:

type: area
area: living_room

area is the area_id

There’s an open issue:

1 Like

Agree.
What if the settings page has 2 different lay-outs:

  1. New users: keep it like it is. It looks beautiful but not efficient.
  2. not-New / advanced users: put everything on 1 page with nice icons, little text.

When it comes to the administrative side of things it should be about usability/efficiency and not looks.
I kind of liked the idea of creating “cards” for settings.

2 Likes

I already tried adding the as_timestamp filter and also as a function. This produces an “Entity not available” error:

state: "{{ states('input_datetime.front_door_lock_last_activity') | as_timestamp }}"

image

Ok, do you know how to check your logs? This is the first place to look, not at the entity on your UI.

That’s missing the default. However, you still need to check your logs to verify that’s actually a valid fix. It might require datetimes only. Post any warnings you see in your logs. I’m using timestamp device_class templates all throughout my config without an issue.

The only related entry I can see is this, which was not showing before the update to 2021.12:

2021-12-13 10:29:27 WARNING (MainThread) [homeassistant.components.sensor.helpers] sensor.front_door_lock_last_activity rendered timestamp without timezone: 2021-12-12 15:40:15

Is this something to do with the change to timestamp_local?

Hello,

I tried to update, but nothing happens.
The if I hit the update button it starts the backup and thats it.
I tried a restart of the host, but still the same.

Does anybody else habe this problem?

Greetings