esphome-zbbridge icon indicating copy to clipboard operation
esphome-zbbridge copied to clipboard

sonoff_zbbridge.yaml not validating in ESPHome

Open PanMat opened this issue 3 years ago • 0 comments

The default file is not getting validated and giving following error:

` INFO Reading configuration /config/esphome/sonoff_zbbridge.yaml... ERROR Unable to load component serial_server.binary_sensor: Traceback (most recent call last): File "/esphome/esphome/loader.py", line 162, in _lookup_module module = importlib.import_module(f"esphome.components.{domain}") File "/usr/lib/python3.9/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1030, in _gcd_import File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in load_unlocked File "", line 790, in exec_module File "", line 228, in call_with_frames_removed File "/config/esphome/custom_components/serial_server/binary_sensor.py", line 10, in class = ns.class('BinarySensor', binary_sensor.BinarySensor, cg.Nameable) AttributeError: module 'esphome.codegen' has no attribute 'Nameable' Failed config

binary_sensor.serial_server: [source /config/esphome/sonoff_zbbridge.yaml:37]

Platform not found: 'binary_sensor.serial_server'. platform: serial_server name: Zigbee to serial `

PanMat avatar Dec 28 '21 01:12 PanMat