Comments (11)
@ThomDietrich I prefer to keep lowercase the default, but will add an option to configure the name format, so users can override it themself.
from homeassistant-powercalc.
@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.
from homeassistant-powercalc.
Configurable entity name has been implemented
from homeassistant-powercalc.
Hi, good to hear. Yes changing that line should fix it.
You can create a PR if you want.
from homeassistant-powercalc.
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
from homeassistant-powercalc.
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.
Power is a common noun in the English language and should not be capitalized as far as I'm concerned. Only when it is used in the beginning of the sentence.
In my case it would look ugly because I only write the first letter of my entity name capitalized (Spots keuken = Spots kitchen in English), which will become "Spots kitchen Power".
from homeassistant-powercalc.
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 ;)
from homeassistant-powercalc.
Fixed in #77
Thanks!
from homeassistant-powercalc.
Fixed in #77
Thanks!
Yes it's almost ready. Need to do some final testing and update the readme
from homeassistant-powercalc.
Readme has been extended and this feature is merged into master.
Please let me know if this works for you @ThomDietrich
from homeassistant-powercalc.
Looks great
from homeassistant-powercalc.
Related Issues (20)
- TS011F _TZ3000_w0qqde0g powerplug not yet supported HOT 1
- Measure Tool as Add-on HOT 1
- All Devices off, Powercalc not loading at starting HA, also not with the newest Update HOT 19
- "All standby power" / energy entities do not link back to Powercalc integration HOT 3
- Philips Hue Bloom LC001 HOT 6
- JSONDecodeError and not a valid ColorMode Error during startup since v1.12.12 HOT 15
- Error while dispatching HOT 9
- ability to enter power-on consumption for 'Sonof ZBmini01' via the configure GUI HOT 3
- Why is powercalc trying to reach the internet after installation and setup? HOT 9
- Thanks for the contribution, makes sense to add the alias as you also verified the power draw is similar. HOT 2
- cant delete entries on the integration HOT 9
- Energy sensor have mixed kWh or Wh as unit HOT 10
- light_setting.hue = int(hs[0] / 360 * 65535) ~~^^^ TypeError: 'NoneType' object is not subscriptable HOT 4
- Innr outdoor lights
- Adopt powercalc to change in device info HOT 1
- Add IKEA LED2104R3 GU10 bulb
- Support for multiple-outlet smart outlets and smart strips HOT 20
- Energy sum to retrieve untracked energy HOT 2
- Option flow cleanup HOT 1
- More than 130 powercalc light entities per room. Why? HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homeassistant-powercalc.