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

Config allows illegal characters to be used in “Friendly name” #256

Open
Frankster-NL opened this issue Jan 29, 2024 · 0 comments
Open

Comments

@Frankster-NL
Copy link

Took me a while to figure out what was going wrong, but the config screen allows the use of spaces in “Friendly name” which produces the following error in Homeassistant MQTT:

Logger: homeassistant.components.mqtt.discovery
Source: components/mqtt/discovery.py:155
Integration: MQTT (documentation, issues)
First occurred: 12:25:10 (3 occurrences)
Last logged: 12:32:41

Received message on illegal discovery topic 'homeassistant/climate/airco woonkamer/config'. The topic contains not allowed characters. For more information see https://www.home-assistant.io/integrations/mqtt/#discovery-topic

It would be a great enhancement if spaces in topics would produce a warning when entering them.

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