-
-
Notifications
You must be signed in to change notification settings - Fork 210
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
[bug] The location field doesn't allow to use a space in the name #877
Comments
@bogdanr Could you use underscores? The problem is that locations are then used on topics, even if spaces are allowed in topics I would prefer not have them... |
I actually used underscores, then moved every device in the locations with
space and then deleted the locations with underscores. I belive that since
HA allows using space, for the sake of consistency, we should allow the
same here.
…On Fri, Mar 12, 2021, 17:03 Daniel Lando ***@***.***> wrote:
@bogdanr <https://github.com/bogdanr> Could you use underscores? The
problem is that locations are then used on topics, even if spaces are
allowed in topics I would prefer not have them...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#877 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIHUQZBCYGMFA42MSXMWCDTDIUMNANCNFSM4ZCOCAYQ>
.
|
I agree, I had spaces in names and locations before (in ozwd and HA) and this is going to create a mess if we have 2 versions of the same name/location. Please allow spaces for both of these fields. |
From: https://www.hivemq.com/blog/mqtt-essentials-part-5-mqtt-topics-best-practices/ I have no problem adding spaces on location, it's just not a good practise when it needs to be used with mqtt. |
Perhaps a different compromise would be to allow spaces but then translate to underscores for MQTT topics? That doesn't completely solve this but at least fixes it for users that don't need MQTT. |
Pretty much everywhere in HA I can use location fields with a space. And I have a bunch defined like this. But in the zwavejs2mqtt UI I can't do that so when I migrate it creates a bit of a mess.
Can we allow a space in the location and the name?
The text was updated successfully, but these errors were encountered: