I'm getting similar errors:
core-ssh:/config# hassio ha check
ERROR
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 https://home-assistant.io/components/mysensors/
ERROR:homeassistant.setup:Setup failed for mysensors: Invalid config.
Failed config
mysensors:
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)
mysensors:
gateways:
- device: '/dev/ttyUSB0'
persistence_file: '/config/mysensors3.json'
optimistic: false
persistence: true
retain: true
version: '2.1'