Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sonoff_zbbridge.yaml not validating in ESPHome #13

Open
PanMat opened this issue Dec 28, 2021 · 0 comments
Open

sonoff_zbbridge.yaml not validating in ESPHome #13

PanMat opened this issue Dec 28, 2021 · 0 comments

Comments

@PanMat
Copy link

PanMat commented Dec 28, 2021

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
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant