Komponent wM-Bus do ESPHome wersja 5.x - wątek ogólny

Po ostatniej aktualizacji Esphome w momencie uruchomienia Logow mialem takie błędy:

INFO ESPHome 2025.12.4
INFO Reading configuration /config/esphome/esp32c3.yaml...
ERROR Unable to import component logger:
Traceback (most recent call last):
  File "/esphome/esphome/loader.py", line 199, in _lookup_module
    module = importlib.import_module(f"esphome.components.{domain}")
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  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 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/esphome/esphome/components/logger/__init__.py", line 6, in <module>
    from esphome.components.esp32 import (
ImportError: cannot import name 'VARIANT_ESP32C61' from 'esphome.components.esp32' (/data/external_components/5c086c68/components/esp32/__init__.py)
Failed config

logger: [source /config/esphome/esp32c3.yaml:26]
  
  Component not found: logger.
  id: component_logger
  level: DEBUG

Nie było też możliwości kompilacji
Dodam ze moduł cały czas działał i odczytywał dane z liczników
Teraz mam taki config

esphome:
  name: lora
  friendly_name: Lora
  platformio_options:
    upload_speed: 921600


external_components:
   - source: github://SzczepanLeon/esphome-components@main
     components: [wmbus_common, wmbus_radio, wmbus_meter]
     refresh: 0d  


esp32:
  board: heltec_wifi_lora_32_V2
  flash_size: 8MB
  framework:
    type: esp-idf


# Enable logging
logger:
  level: INFO
  logs:
    wmbus: ERROR
    wmbusmeters: ERROR

# Enable Home Assistant API
api:
  encryption:
    key: "HQgeLhbuFOvN73DM0CYaT3qVabF0Euciq2C1aqJ0hLU="

ota:
  platform: esphome

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Lora Fallback Hotspot"
    password: "EyK1CEVSi4yt"

web_server:
  version: 3

time:
  - platform: sntp
    id: sntp_time

spi:
  clk_pin:
    number: GPIO5
    ignore_strapping_warning: true
  mosi_pin: GPIO27
  miso_pin: GPIO19

#socket_transmitter:
#  id: my_socket
#  ip_address: 192.168.1.1
#  port: 3333
#  protocol: TCP

#mqtt:
#  broker: test.mosquitto.org
#  port: 1883
#  client_id: some_client_id

wmbus_radio:
  radio_type: SX1276
  cs_pin: GPIO18
  reset_pin: GPIO14
  irq_pin: GPIO35
#  frequency: 868.950
#  all_drivers: True
#  sync_mode: True
# log_all: True

  on_frame:
    - then:
        - logger.log:
            format: "RSSI: %ddBm T: %s (%d)"
            args: [ frame->rssi(), frame->as_hex().c_str(), frame->data().size() ]
    #- then:
        #- repeat:
            #count: 3
            #then:
             # - output.turn_on: status_led
              #- delay: 100ms
              #- delay: 100ms
#    - mark_as_handled: True
#      then:
#        - mqtt.publish:
#            topic: wmbus-test/telegram_rtl
#            payload: !lambda return frame->as_rtlwmbus();
#    - mark_as_handled: True
#      then:
#        - socket_transmitter.send:
#            data: !lambda return frame->as_hex();
wmbus_meter:
  - id: water_meter
    meter_id: 0x0000000000
    type: apator162
    key: "00000000000000000000000000000000"

  - id: electricity_meter
    meter_id: 0x0000000000
    type: amiplus
    key: "000000000000000000000000000000"
    mode: 
      - T1
      - C1
  
sensor:
  - platform: wmbus_meter
    parent_id: water_meter
    field: total_m3
    device_class: water
    name: Zużycie wody
    accuracy_decimals: 3
    state_class: total_increasing
    unit_of_measurement: "m³"
    icon: "mdi:water"
    
  - platform: wmbus_meter
    parent_id: electricity_meter
    field: total_energy_consumption_kwh
    name: Suma konsumpcji
    accuracy_decimals: 3
    device_class: energy
    state_class: total_increasing
    icon: "mdi:transmission-tower-export"

  - platform: wmbus_meter
    parent_id: electricity_meter
    field: current_power_consumption_kw
    name: Aktualny pobór
    accuracy_decimals: 3
    device_class: energy
    state_class: total_increasing
    icon: "mdi:transmission-tower"

  - platform: wmbus_meter
    parent_id: electricity_meter
    field: total_energy_production_kwh
    name: Suma produkcji
    accuracy_decimals: 3
    device_class: energy
    state_class: total_increasing
    icon: "mdi:transmission-tower-import"

  - platform: wmbus_meter
    parent_id: electricity_meter
    field: current_power_production_kw
    name: Aktualna produkcja
    accuracy_decimals: 3
    device_class: energy
    state_class: total_increasing
    icon: "mdi:solar-power-variant"


  - platform: wmbus_meter
    parent_id: electricity_meter
    field: voltage_at_phase_1_v
    name: Faza V1
    accuracy_decimals: 3
    device_class: energy
    state_class: total_increasing
    icon: "mdi:lightning-bolt"

  - platform: wmbus_meter
    parent_id: electricity_meter
    field: voltage_at_phase_2_v
    name: Faza V2
    accuracy_decimals: 3
    device_class: energy
    state_class: total_increasing
    icon: "mdi:lightning-bolt"

  - platform: wmbus_meter
    parent_id: electricity_meter
    field: voltage_at_phase_3_v
    name: Faza V3
    accuracy_decimals: 3
    device_class: energy
    state_class: total_increasing
    icon: "mdi:lightning-bolt"

  - platform: wmbus_meter
    parent_id: electricity_meter
    field: rssi_dbm
    name: Licznik RSSI
    icon: "mdi:wifi"
  

Teraz kompilacja przechodzi ale moduł zachowuje się dziwnie.
Robi restart. Raz działa 20 minut i resrtart a innym razem potrafi działać godzinę
Pojawiają się takie logi:

13:51:23
[W]
[component:543]
safe_mode took a long time for an operation (69 ms)
13:51:23
[W]
[component:546]
Components should block for at most 30 ms
13:51:26
[W]
[component:543]
interval took a long time for an operation (466 ms)
13:51:26
[W]
[component:546]
Components should block for at most 30 ms
13:51:26
[W]
[component:543]
api took a long time for an operation (473 ms)
13:51:26
[W]
[component:546]
Components should block for at most 30 ms
13:54:16
[W]
[component:543]
display took a long time for an operation (258 ms)
13:54:16
[W]
[component:546]
Components should block for at most 30 ms

Da się coś z tym zrobić?