home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.79k stars 30.88k forks source link

Cannot customize sun entity friendly name through UI #69849

Closed metbril closed 2 years ago

metbril commented 2 years ago

The problem

Since 2022.3, the Sun integration has moved to the UI. However, I can't edit the friendly name in the UI. The sun.sun entity appears to not (yet) have a unique ID.

I use the default_config option, the entity is otherwise working perfectly. Until today I used the manual customization to edit the friendly name for my local language (Dutch ==> "Zon").

What version of Home Assistant Core has the issue?

core-2022.4.1

What was the last working version of Home Assistant Core?

2022.2

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Sun

Link to integration documentation on our website

https://www.home-assistant.io/integrations/sun/

Diagnostics information

System Health

version core-2022.4.1
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.9.9
os_name Linux
os_version 5.10.108
arch aarch64
timezone Europe/Amsterdam
Home Assistant Community Store GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 5000 Installed Version | 1.24.3 Stage | running Available Repositories | 1085 Downloaded Repositories | 44
AccuWeather can_reach_server | ok -- | -- remaining_requests | 48
Home Assistant Cloud logged_in | true -- | -- subscription_expiration | 17 april 2022 02:00 relayer_connected | true remote_enabled | true remote_connected | true alexa_enabled | false google_enabled | false remote_server | eu-west-2-3.ui.nabu.casa can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Home Assistant Supervisor host_os | Home Assistant OS 7.6 -- | -- update_channel | stable supervisor_version | supervisor-2022.03.5 docker_version | 20.10.9 disk_total | 56.6 GB disk_used | 8.5 GB healthy | true supported | true board | odroid-n2 supervisor_api | ok version_api | ok installed_addons | Samba share (9.5.1), SSH & Web Terminal (10.1.1), File editor (5.3.3), AdGuard Home (4.5.0), Home Assistant Google Drive Backup (0.106.2), Z-Wave JS (0.1.55), Log Viewer (0.13.0)
Dashboards dashboards | 4 -- | -- resources | 20 views | 23 mode | storage
Spotify api_endpoint_reachable | ok -- | --

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

probot-home-assistant[bot] commented 2 years ago

Hey there @swamp-ig, mind taking a look at this issue as it has been labeled with an integration (sun) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)


sun documentation sun source (message by IssueLinks)

frenck commented 2 years ago

This is, at this point, expected behavior; sun isn't a normal entity (a bit of an oddity actually).

metbril commented 2 years ago

This is a little disappointing since the option to edit customize.yaml through the ui has also been deprecated. No other way then to manually edit the file.

frenck commented 2 years ago

Those things are not related. Customize is not deprecated.

metbril commented 2 years ago

No, customize is not deprecated, but the feature to edit the file through the UI has been. It's listed as the first breaking change in 2021.12:

https://www.home-assistant.io/blog/2021/12/11/release-202112/#breaking-changes

So it would have been nice if any integration that is moved to the UI, now also allows for editing the customization.

frenck commented 2 years ago

So it would have been nice if any integration that is moved to the UI, now also allows for editing the customization.

Sure, but that is a feature request, not a requirement. Also, that only applies / is only available to normal entities, which sun isn't at this point.

balloob commented 2 years ago

Closing because feature request.