2024.11: Slick dashboards and speedy cameras

Hi All,

Is here someone who is using USB Modem to sending messages ? After update 2024.11.2 I have lost this functionality and errors look like below. Also I have noticed, that all statuses of entities are now not in Polish but in English.

Rejestrator: homeassistant.config_entries
Źródło: config_entries.py:3249
Pierwsze zdarzenie: 00:12:03 (5 zdarzenia)
Ostatnio zalogowany: 00:23:12

Error occurred loading flow for integration sms: cannot import name 'GammuAsyncWorker' from 'gammu.asyncworker' (/usr/local/lib/python3.12/site-packages/gammu/asyncworker.py)

------------------ ALSO -----------------------------


Rejestrator: homeassistant.setup
Źródło: setup.py:334
Pierwsze zdarzenie: 00:08:59 (1 zdarzenia)
Ostatnio zalogowany: 00:08:59

Setup failed for 'sms': Unable to import component: cannot import name 'GammuAsyncWorker' from 'gammu.asyncworker' (/usr/local/lib/python3.12/site-packages/gammu/asyncworker.py)
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1011, in async_get_component
    comp = await self.hass.async_add_import_executor_job(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1071, in _get_component
    ComponentProtocol, importlib.import_module(self.pkg_path)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/util/loop.py", line 200, in protected_loop_func
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/usr/src/homeassistant/homeassistant/components/sms/__init__.py", line 25, in <module>
    from .gateway import create_sms_gateway
  File "/usr/src/homeassistant/homeassistant/components/sms/gateway.py", line 6, in <module>
    from gammu.asyncworker import GammuAsyncWorker
ImportError: cannot import name 'GammuAsyncWorker' from 'gammu.asyncworker' (/usr/local/lib/python3.12/site-packages/gammu/asyncworker.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 334, in _async_setup_component
    component = await integration.async_get_component()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1031, in async_get_component
    self._component_future.result()
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1023, in async_get_component
    comp = self._get_component()
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1071, in _get_component
    ComponentProtocol, importlib.import_module(self.pkg_path)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/util/loop.py", line 200, in protected_loop_func
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/usr/src/homeassistant/homeassistant/components/sms/__init__.py", line 25, in <module>
    from .gateway import create_sms_gateway
  File "/usr/src/homeassistant/homeassistant/components/sms/gateway.py", line 6, in <module>
    from gammu.asyncworker import GammuAsyncWorker
ImportError: cannot import name 'GammuAsyncWorker' from 'gammu.asyncworker' (/usr/local/lib/python3.12/site-packages/gammu/asyncworker.py) >

Entities status in EN (was wykryto):
obraz

Maybe a last question.
Is it normal i see this after deleting go2rtc in the default_config ?
Or do i have to make some adjustments in the yaml file ?

go2rtc

I don;t know how to explain this but after few hours now the same values are in Polish again (without, restart or other action from my site)

obraz

Regarding issue with SMS Gateway, still the same :frowning:

I have 5 cameras: 3 - H265 (Dahua) & 2 - H264 (Hikvision) with
picture-entity cards for direct video output from cameras.
Frigate ver. 0.14.1 is installed (incl. go2rtc).
HAOS, generic-x86-64, bare metal system.
Everything works fine on version 2024.10.4.
After the update on 2024.11.2, picture-entity cards do not work for H265 streams, even through the existing go2rtc in MSE(mp4) mode.
Picture-entity card shows ordinary snapshot picture, but on tab/click it just minimizes to “only header-show” mode.
There are no errors in the logs.
H265 cameras only work with a ‘custom:webrtc-camera’ after installation of a WebRTC Camera, but this does not suit me.
How can I configure go2rtc or something else so that picture-entity cards will work with H265 streams at 2024.11.2 core?

Today i have upgraded to HA 2024.11.2 and wanted to try the logs streaming live!. Is this new feature reserved for HAOS or supervised installations? My installation is just HA in a docker container.

Has anyone else had trouble with Zigbee since upgrading to 2024.11.2? ZHA integration completely failed to the point I thought my SkyConnect had died. The integration failed to load and all Zigbee devices were unavailable. I tried reboots, a different USB extender, different ports on my RPi, and finally in desperation replaced my install from a backup from before the last update. That fixed the problem immediately.

I tried looking through the logs to find any errors, but because the integration wouldn’t initialize the ZHA integration page couldnt access the logs, and I couldn’t figure out what to look for in the log viewer in System. Anybody have any thoughts?

Are you using the build in integration or Webrtc as custom integration?

Well, never mind. Rolling back to an old backup worked for a few hours, and then the ZHA integration failed again and I’ve lost connection to everything. Guess it’s not the new update, at least? I’ll start a new thread elsewhere.

No, that’s in the release notes.

I have checked and now I know why issue with gateway is, becasue mnot exist python3 in lib:

Are you able to verify if you have the same situation?

I just use the built-in integration. All my camera cards are some variation of:

show_state: true
show_name: true
camera_view: auto
type: picture-entity
entity: camera.g4_instant_medium
name: G4

All RTSP connections: Amcrest, Reolink, Tenvis, Unifi, Wyze, Yi. A veritable dog’s breakfast of camera brands and models.

And you are not using things like Reolink integration ?

back to some experimenting with the slick dashboards, and trying to feel some love for the new badges.

I so wish we could set the icon size to a few more pixels.

practically impossible to see the 64 in the processor badge.

this seems out of balance, particularly because there is so much empty space left.

the icon is set with the generic --mdc-icon-size, so we can not set it in a theme either (because it sets the size for all regular icons too.)

since card-mod cant touch it either, my older eyes are lost on this…

unless there could be an introduction for eg --ha-badge-icon-size ofc, and use that in the themes.

imho this should have a place in the accessibility contemplations of the Frontend team.
please.

so at least the users with +4 glasses (…) can do:

Scherm­afbeelding 2024-11-18 om 16.07.50

notice how the increase of the icon-size (In Inspector, not card_mod) hardly impacts the total size of the badge. cant be a reason not to do so

funny thing is we Can do

ha-badge-size: 48px

Scherm­afbeelding 2024-11-18 om 16.11.25

which blows up the badge, but leaves the icons untouched…

2 Likes

With mod_card and hui it should be possible. Fairly sure, you have posted this on your own already back some time.

Actually, it WAS NOT possible to style new 2024.8 badges with card-mod.
But it became possible with a bit hacked card-mod (was explained in card-mod thread).
Anyway, probably Marius wants to have a possibility to style new 2024.8 badges with a custom theme - i.e. properties for these badges should be covered by CSS variables.

Might be. But he wrote, that card mod cannot do it. And this is not the case anymore.

it was not my main point…even though we still can not (unless you would know how to, using the release version of card-mod v3.4.3, and not the hacked version)

my main point is, that the icons are too small for some people to be able to distinguish them, and my second point would be that I hope we would get the option to adjust that in HA Frontend natively (indeed, with a theme variable), and not have to rely on a compound set of custom cards which havent been updated in a long time)

Opened a Discussion with that request

1 Like

@Lode1 That’s a good question, I had to “remind” myself of the answer:

Amcrest(1)*: Dahua integration
Reolink(2)*: yes, I’m using the Reolink integration
Tenvis(1): Generic Camera Integration
Unifi(1)*: Unifi Protect Integration
Wyze & Yi (9 total): all specified in configuration.yaml as platform: ffmpeg
…for example:

# Wyze V2 Front
  - platform: ffmpeg
    input: -rtsp_transport tcp -i rtsp://USERID:PASSWORD@IPADDRESS/live
    name: Wyze Front

* I use camera specific integrations whenever I need access to “events” for building useful automations.

had a private chat with @arganto , and learned that it is possible to mod the badges after all, see 🔹 Card-mod - Add css styles to any lovelace card - #7453 by Mariusthvdb for further exploration as it’s off topic here…
thanks to @Ildar_Gabdullin too!

Anyone else having a problem with constant reboots about every 30min?