-
-
Notifications
You must be signed in to change notification settings - Fork 216
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
Cannot setup mqtt_basic_async #39
Comments
Yes, this example is outdated, if you change: example-custom-config/custom_components/mqtt_basic_async/__init__.py Lines 33 to 36 in 8defd50
to: CONFIG_SCHEMA = vol.Schema(
{vol.Optional(CONF_TOPIC, default=DEFAULT_TOPIC): mqtt.valid_subscribe_topic},
extra=vol.ALLOW_EXTRA,
) It will resolve the error and create the entity, but there other errors in this example so I would not use that as a baseline |
Thank you @thecode - I should rtfm before trying out examples 🤣 . Do you want me to make a PR after I get a working version? |
PRs are always welcomed 👍 |
Steps to reproduce.
which is the 1st line in my configuration.yaml file.
Any ideas? I want to listen to some topics and update some sensors, already have these in sensors.yaml and they work fine, but I would like to develop a more complex integration, and this would be my 1st step :D
The text was updated successfully, but these errors were encountered: