Skip to content

fix(display): use dash in Temp/Hum page#186

Open
jkoelker wants to merge 1 commit intoMallocArray:mainfrom
jkoelker:unicode_slash
Open

fix(display): use dash in Temp/Hum page#186
jkoelker wants to merge 1 commit intoMallocArray:mainfrom
jkoelker:unicode_slash

Conversation

@jkoelker
Copy link

@jkoelker jkoelker commented Mar 12, 2026

ESPHome reserves '/' for URL path separators and warns that this
name will become an error in 2026.7.0.

ESPHome recommends the "Unicode Fraction Slash"; however, this may
cause confusion as it is visually similar. Use a '-' instead to
reduce potential confusion.

Fixes: #183

@MallocArray
Copy link
Owner

Thoughts on just using a - instead of a slash entirely?

Using a different character that looks like a regular slash seems like it will cause confusion down the road, vs possibly just using dash instead.

@jkoelker
Copy link
Author

Yea that works, as the initial go i just did the least visual change thing possible in line with esphome's directive, but I agree that a '-' is probably a better choice.

@jkoelker jkoelker changed the title fix(display): use fraction slash in Temp/Hum page fix(display): use dash in Temp/Hum page Mar 12, 2026
ESPHome reserves '/' for URL path separators and warns that this
name will become an error in 2026.7.0.

ESPHome recommends the "Unicode Fraction Slash"; however, this may
cause confusion as it is visually similar. Use a '-' instead to
reduce potential confusion.

Fixes: MallocArray#183
@jkoelker
Copy link
Author

Sorry for the two pushes, noticed I had spelling mistakes when editing the pr in github 🤣.

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

Successfully merging this pull request may close these issues.

Forward slash used for display name - reserved for URL path separator

2 participants