Setup failed for serial

Hi,
I just setup my mqtt2zigbee integration in homeassistant running on a raspberry pi 3b.
So far I added a few outlets, lights and switches which works fine.
But whenever I restart the server i get the following log message:

2021-06-29 14:52:51 ERROR (MainThread) [homeassistant.setup] Setup failed for serial: No setup or config entry setup function defined.

Here is my configuration.yaml


# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

# Text to speech
tts:
  - platform: google_translate

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

# zigbee USB integration
serial:
  port: /dev/ttyUSB0
  
# Wake On Lan
wake_on_lan:

# switch
switch:
  - platform: wake_on_lan
    mac: B4:2E:99:xx:xx:xx
    name: WOL_Office_PC

mqtt2zigbee config:

data_path: /config/zigbee2mqtt
external_converters: []
devices: devices.yaml
groups: groups.yaml
homeassistant: true
permit_join: false
mqtt:
  base_topic: zigbee2mqtt
serial:
  port: /dev/ttyUSB0
advanced:
  rtscts: false
  log_level: warn
  pan_id: 6754
  channel: 11
  network_key:
    - 1
    - 3
    - 5
    - 7
    - 9
    - 11
    - 13
    - 15
    - 0
    - 2
    - 4
    - 6
    - 8
    - 10
    - 12
    - 13
  availability_blocklist: []
  availability_passlist: []
device_options: {}
blocklist: []
passlist: []
queue: {}
frontend:
  port: 8099
experimental:
  new_api: true
socat:
  enabled: false
  master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
  slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
  options: '-d -d'
  log: false

mosquitto broker config:

logins: []
customize:
  active: false
  folder: mosquitto
certfile: fullchain.pem
keyfile: privkey.pem
require_certificate: false

I am happy about any suggestions! Thanks!

Hi,

Not sure why you need the serial line in your HASS configuration.yaml.

Remove this:

serial:
  port: /dev/ttyUSB0

It only needs to be in the zigbee2mqtt config file.

Simon

1 Like

That was it. No more Errors after a reboot. Thanks!