2024.4: Organize all the things!

WOW, overwhelming ! , yes i am a fan of structure and “order” , this release is absolutely amazing !

1 Like

My system was working during the beta (at least up until some point, I missed the last couple due to them coming out over last night) other than a random reboot loop that happened a few time. This morning I jumped onto the stable and now my MQTT isn’t working and one of my automations is spitting errors.

The lighting automation is failing on this part:

service: light.turn_on
data:
  entity_id: light.kitchen_light_level
  brightness_pct: >-
    {{ state_attr('switch.adaptive_lighting_kitchen', 'brightness_pct') /2 |
    int(100) }}

with this error:
Error: Error rendering data template: TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

This worked fine before the 2024.4.0 stable, even during beta…

Not sure what is going on with MQTT just yet. Still investigating. Anyone else have MQTT issues? (it might only be a particular section of my config so still hunting it down)

EDIT: seems the MQTT issue I have is likely related to a device being disconnected from HA MQTT server…

2024-04-04 05:24:35: New connection from 192.168.30.12:52162 on port 1883.
2024-04-04 05:24:35: New client connected from 192.168.30.12:52162 as 84:0D:8E:B1:0B:8D (p2, c1, k15, u'hassio_mqtt').
2024-04-04 05:24:40: New connection from 192.168.30.241:53966 on port 1883.
2024-04-04 05:24:40: New client connected from 192.168.30.241:53966 as bedroom_fan (p2, c1, k30, u'hassio_mqtt').
2024-04-04 05:25:47: New connection from 172.30.32.1:60457 on port 1883.
2024-04-04 05:25:47: New client connected from 172.30.32.1:60457 as 511DgkSGcCtPJ0WbuW0YlJ (p2, c1, k60, u'homeassistant').
2024-04-04 05:26:31: New connection from 172.30.32.1:57330 on port 1883.
2024-04-04 05:26:31: New client connected from 172.30.32.1:57330 as frigate (p2, c1, k60, u'hassio_mqtt').
2024-04-04 05:29:46: Client 84:0D:8E:B1:0B:8D has exceeded timeout, disconnecting.

Anyone know how I can prevent that timeout?

1 Like

Probably everyone with more than one floor in their home has at least one area that spans two or more floors - a staircase or hallway for example.

Currently that might be split into two areas to allow controlling lights in one level but not the other, but sometimes you might want to consider it as a single area - all hallway lights on with an automation based on presence, or detecting temperature for the whole room.

This is one thing where I am currently using brackets or naming conventions for labelling rooms and devices that the floors doesn’t appear to help with.

Does anyone know if the Whirlpool integration is fixed in this release? Recently the integration was not accepting logons

Great to see dashboards getting some love. Please tell me why we still can’t set a default dashboard for a user. It seems to be device and network specific? When I’m at home I get my default selected one but on 5G or office WiFi I get the overview. Please allow assigning a dashboard to a user

2 Likes

This version does not look promising at first start. More than ten minutes have passed and a lot of entities are unavailable (Switch Bot thermometers, ESPHome devices, tracker entities for person…).
Database migration has been done but after that nothing happens so I don’t know if I should restart HA or continue to wait.
Or simply go back to 2024.3.3 after restoring the backup I made before updating HA core.

2024-04-04 01:22:32.647 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration livebox which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-04-04 01:22:32.648 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-04-04 01:22:32.649 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration pollens which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-04-04 01:25:45.197 WARNING (MainThread) [homeassistant.bootstrap] Setup timed out for stage 1 waiting on set() - moving forward
2024-04-04 01:25:48.067 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' accesses hass.components.frontend. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to import functions used from frontend directly at custom_components/hacs/frontend.py, line 68: hass.components.frontend.async_register_built_in_panel(, please create a bug report at https://github.com/hacs/integration/issues
2024-04-04 01:31:45.201 WARNING (MainThread) [homeassistant.bootstrap] Setup timed out for stage 2 waiting on set() - moving forward
2024-04-04 01:31:45.663 ERROR (MainThread) [homeassistant.components.automation.suppression_notification_de_maj_de_home_assistant] Suppression notification de MAJ de Home Assistant: Error executing script. Service not found for call_service at pos 1: Service notify.mobile_app_pixel_4a not found
2024-04-04 01:31:45.695 WARNING (Recorder) [homeassistant.components.recorder.migration] Database is about to upgrade from schema version: 42 to: 43
2024-04-04 01:31:45.695 WARNING (Recorder) [homeassistant.components.recorder.migration] Adding columns last_reported_ts to table states. Note: this can take several minutes on large databases and slow computers. Please be patient!
2024-04-04 01:31:45.715 WARNING (Recorder) [homeassistant.components.recorder.migration] Upgrade to version 43 done
2024-04-04 01:31:48.196 ERROR (MainThread) [homeassistant.components.automation.suppression_notification_de_maj_de_hacs] Suppression notification de MAJ de HACS: Error executing script. Service not found for call_service at pos 2: Service notify.mobile_app_pixel_4a not found

At 01:42 nothing new.

Realy think I will try to restart then go back to 2024.3 if it is still not OK.

Haven’t actually tried it yet, but big kudos to the dev team for adding labels not just in addition to, but even at the same time as floors. And so much more stuff too! I will need some time to explore all the possibilities.

1 Like

It’s per user, per device.

Try enabling debug logs for homeassistant.bootstrap as it may catch the culprit that is delaying startup

logger:
  default: info
  logs:
    homeassistant.bootstrap: debug
    homeassistant.setup: debug
    homeassistant.loader: debug
    homeassistant.config_entries: debug

I was not enough fast, after a restart it looks thing went better, even if I had Bluetooth related errors.

2024-04-04 01:47:36.346 WARNING (MainThread) [bluetooth_auto_recovery.recover] Could not reset the power state of the Bluetooth adapter hci0 [00:1A:7D:DA:71:15] due to timeout after 5 seconds
2024-04-04 01:47:36.350 WARNING (MainThread) [bluetooth_auto_recovery.recover] Could not cycle the Bluetooth adapter hci0 [00:1A:7D:DA:71:15]: [Errno 1] Operation not permitted
2024-04-04 01:47:36.352 WARNING (MainThread) [bluetooth_auto_recovery.recover] Bluetooth management socket connection lost: [Errno 22] Invalid argument
2024-04-04 01:47:41.351 WARNING (MainThread) [bluetooth_auto_recovery.recover] Bluetooth adapter hci0 [00:1A:7D:DA:71:15] could not be reset: 
2024-04-04 01:47:41.357 WARNING (MainThread) [bluetooth_auto_recovery.recover] Closing Bluetooth adapter hci0 [00:1A:7D:DA:71:15] failed: [Errno 9] Bad file descriptor
2024-04-04 01:49:27.251 WARNING (MainThread) [switchbot.devices.device] None (C0:5A:8A:D2:ED:CF): Error disconnecting: [org.freedesktop.DBus.Error.NoReply] Remote peer disconnected; RSSI: -47
2024-04-04 01:51:31.301 ERROR (MainThread) [habluetooth.scanner] hci0 (00:1A:7D:DA:71:15): Error stopping scanner: [org.bluez.Error.DoesNotExist] Does Not Exist

I restarted bluetooth.service then reloaded the Bluetooth integration and no other error until now.
I did not have these errors before when starting Home Assistant.

For the information, I use passive scan.
Until now some thermometers have no battery information available.

EDIT: IIRC battery often takes some time to be displayed correctly, except that it looks to be OK until now.
First start after update has been a little bit chaotic but second start looks OK.

Labels are just that? Go to your entities tab and filter by label.

So putting this into the template dev tool now spits this same error… it worked before 2024.4. Is this a bug or a problem with my template?

Although tables were reworked - sorting is still questionable: after the 2nd tapping on a header a sorting order becomes weird. This is an old issue.

What’s the state of that switch at the time of the check. If it’s unavailable I think it’s going to blow up. Because you’re trying to divide unavailable by 2…

Hmm. Now I’m confused… Yes, that switch was for some reason ‘off’, but even when I turn it ‘on’, it doesn’t have a brightness_pct attribute. The brightness I’m supposed to be dividing by 2 is that of the light entity.

So it should be a simple fix but I’m confused as to how it could have ever worked.

In theory it should actually be this:

service: light.turn_on
data:
  entity_id: light.kitchen_light_level
  brightness_pct: >-
    {{ state_attr('light.kitchen_light_level', 'brightness') / 2 |
    int(100) }}

So I’ll change it and see how it goes…but how did it EVER work?

1 Like

Another good addition for me is the new settings for Home Assistant Cloud voice which now provide more voice also for tts.cloud_say, we have more possible voice same as Assist, not only male and female.
Thanks!

1 Like

Isn’t the disable toggle on the Automations page too accessible now, making it risky to disable automations accidentally?

3 Likes

Tell me you’re in the northern hemisphere without telling me you’re in the northern hemisphere

Who are you replying to? I’m in the southern hemisphere…

1 Like

no one specifically – the blog post is about spring cleaning, but its autumn
i thought it was just posting, but its been a long morning.

3 Likes