You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
`
The text was updated successfully, but these errors were encountered: