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

MQTT Vacuum autodiscovery failure #1

Open
colecash122 opened this issue May 19, 2021 · 0 comments
Open

MQTT Vacuum autodiscovery failure #1

colecash122 opened this issue May 19, 2021 · 0 comments

Comments

@colecash122
Copy link

Hello,

Was able to get the firmware flashed onto my D1 Mini and communicating with my MQTT broker without any issues.

However, upon looking into my Home Assistant install, the board is having issues being auto discovered as a vacuum. The individual sensor data appears without issue, but the MQTT vacuum fails to work with the error:

Exception in async_discover when dispatching 'mqtt_discovery_new_vacuum_mqtt': ({'name': 'roomba', 'unique_id': 'roomba', 'state_topic': 'roomba/state', 'availability_topic': 'roomba/status', 'device': {'manufacturer': 'iRobot', 'model': 'Roomba 880', 'name': 'Roomba', 'sw_version': '1.0.0-dev.0', 'connections': [['mac', 'MACADDR']], 'identifiers': ['roomba']}, 'platform': 'mqtt'},) Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/mqtt/mixins.py", line 160, in async_discover config = schema(discovery_payload) File "/usr/local/lib/python3.8/site-packages/voluptuous/validators.py", line 218, in call return self._exec((Schema(val) for val in self.validators), v)
File "/usr/local/lib/python3.8/site-packages/voluptuous/validators.py", line 341, in _exec raise e if self.msg is None else AllInvalid(self.msg, path=path) File "/usr/local/lib/python3.8/site-packages/voluptuous/validators.py", line 337, in _exec v = func(v) File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 272, in call return self._compiled([], data)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 817, in validate_callable return schema(data) File "/usr/src/homeassistant/homeassistant/components/mqtt/vacuum/init.py", line 19, in validate_mqtt_vacuum return schemasvalue[CONF_SCHEMA]
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 272, in call return self._compiled([], data) File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict return base_validate(path, iteritems(data), out)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 432, in validate_mapping raise er.MultipleInvalid(errors) voluptuous.error.MultipleInvalid: extra keys not allowed @ data['state_topic']

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