Config error but still working

MySensors config keeps generating an error but appears to work. I don’t like errors :wink:

core-ssh:/config# hassio ha check
starting version 3.2.4
Testing configuration at /config
ERROR:homeassistant.config:Invalid config for [mysensors]: /config directory does not exist or is not writeable for dictionary value @ data[‘mysensors’][‘gateways’][0][‘persistence_file’]. Got ‘/config/mysensors3.json’
not a valid value for dictionary value @ data[‘mysensors’][‘gateways’][0][‘device’]. Got ‘/dev/ttyUSB0’. (See /config/configuration.yaml, line 112). Please check the docs at
ERROR:homeassistant.setup:Setup failed for mysensors: Invalid config.
Failed config
gateways: [source /config/configuration.yaml:113]
- device: /dev/ttyUSB0
persistence_file: /config/mysensors3.json
optimistic: False
persistence: True
retain: True
version: 2.1
General Errors:
- Setup failed for mysensors: Invalid config.
Successful config (partial)

    - device: '/dev/ttyUSB0'
      persistence_file: '/config/mysensors3.json'
  optimistic: false
  persistence: true
  retain: true
  version: '2.1'