-
Notifications
You must be signed in to change notification settings - Fork 250
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
Uppercase friendly name #70
Comments
Hi, good to hear. Yes changing that line should fix it. |
I've noticed this kind of representation as well, but wasn't sure if a change makes sense. Not that it's just our German habit to capitalize proper names and nouns. 😉 But since @bramstroker probably sees it similarly, I have made a small PR to it |
@CM000n Thanks! That's a good call. My experience tells me that most integrations capitalize their friendly names. I've just looked at my home setup and there is only one integration that has lowercase entity names (however it mixes in some uppercase names, so let's not look at this one for guidance 😉) I don't think there is a formal rule for this. |
I don't have a hard preference for one or the other. I think it's more a german thing to do it. I'm looking for formal rules, but not sure what to search for. |
Generally my decision would be in favor of how most prominent integrations do it. Looking at different other integrations, I am seeing a mix but also a couple of integrations which work with lowercase. I would be okay to accept that and discard the request here ;) |
@ThomDietrich I prefer to keep lowercase the default, but will add an option to configure the name format, so users can override it themself. |
Fixed in #77 Thanks! |
Yes it's almost ready. Need to do some final testing and update the readme |
Readme has been extended and this feature is merged into master. |
Configurable entity name has been implemented |
Looks great |
Hey! I finally got around testing this integration and my first super minor question is whether the generated default entity friendly name could be changed to upper case
It's probably as easy as changing this line:
homeassistant-powercalc/custom_components/powercalc/sensor.py
Line 105 in 36d6342
Thanks!
The text was updated successfully, but these errors were encountered: