-
-
Notifications
You must be signed in to change notification settings - Fork 30.8k
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
Fix unused friendly name for SolarEdge sensor #20109
Conversation
75b57ae
to
da24767
Compare
I'll try to test this soon.
I think this will change the generated keys as well ( |
da24767
to
0eca019
Compare
This is a breaking change. Please verify how the entity_id will change for all sensor types, and update the documentation as necessary. |
Please add a paragraph in the PR description about the breaking change for the release notes. |
0eca019
to
37dde23
Compare
To avoid confusion I've also changed the monitoring condition keys in the configuration to reflect the new sensor names. I've opened a PR for the documentation and noted breaking changes in this PR. |
37dde23
to
b4d2ce1
Compare
Great! Can be merged when build passes. |
Description:
The SolarEdge component currently creates sensors named like
SolarEdge_current_power
in the front end, while an unused array containing friendly names exists in the code. This PR uses this array to set a friendly name.Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#8193
Checklist:
tox
. Your PR cannot be merged unless tests passIf user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
REQUIREMENTS
variable (example).requirements_all.txt
by runningscript/gen_requirements_all.py
..coveragerc
.If the code does not interact with devices:
Breaking changes:
This PR changes the entity names of this sensor and the monitoring condition keys in the configuration:
sensor.solaredge_current_power
sensor.solaredge_current_power
sensor.solaredge_last_day_data
sensor.solaredge_energy_today
sensor.solaredge_last_month_data
sensor.solaredge_energy_this_month
sensor.solaredge_last_year_data
sensor.solaredge_energy_this_year
sensor.solaredge_life_time_data
sensor.solaredge_lifetime_energy