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
71.34k stars 29.88k forks source link

Not Able to Adjust Zone Home #121319

Closed dwdonnelly closed 2 months ago

dwdonnelly commented 2 months ago

The problem

Can not adjust Home Zone. Get the following notification: Zones configured via configuration.yaml cannot be edited via the UI.

There is/are no enteries in configuration.yaml concerning the "Zone" feature.

What version of Home Assistant Core has the issue?

core-2024.7.1

What was the last working version of Home Assistant Core?

core-2024.6

What type of installation are you running?

Home Assistant OS

Integration causing the issue

No response

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

My configuration.yaml

# Loads default set of integrations. Do not remove.
default_config:

recorder:
  db_url: mysql://homeassistant:SearchRain&308&Assist@core-mariadb/homeassistant?charset=utf8mb4
  # SysMon installed following this tutorial: https://www.youtube.com/watch?v=FbFyqQ3He7M

  # Load frontend themes from the themes folder
frontend:
  themes: !include_dir_merge_named themes

# Example configuration.yaml entry to enable the cloud component
# This entry came from: https://www.home-assistant.io/integrations/cloud/
cloud:

# The following comes from: 
# https://community.home-assistant.io/t/chime-tts-play-audio-before-after-tts-audio-lag-free/578430/526?u=dwdonnelly
homeassistant:
  external_url: "https://xxxxxxxx.ui.nabu.casa/" # eg Nabu Casa address
  internal_url: "http://homeassistant.local:8123"

# Text to speech
tts:
  - platform: google_translate

# This ifttt config.yaml change came from
# https://www.home-assistant.io/integrations/ifttt/https://www.home-assistant.io/integrations/ifttt/
#
# Also the key or API Key came from the Webhook settings in my IFTTT account:
# https://ifttt.com/maker_webhooks/settings.  You have to be logged into your IFTTT
# account to get to this page and your unique key.
ifttt:
  key: !secret my_ifttt_key

# This came from https://community.home-assistant.io/t/switch-to-disable-kill-all-automations/288615
# and https://www.home-assistant.io/integrations/input_boolean/
# This prevents the guest bedroom/hall bath light automations from running when a guest is in the house. 
input_boolean:
    guest_bedroom_in_use:
      name: Guest Bedroom In Use

######### YAML File Locations #########################
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
group: !include groups.yaml
rest_command: !include rest_command.yaml
#template: !include templates.yaml

Anything in the logs that might be useful for us?

I see nothing in the logs, but I am happy to provide them if requested.

Additional information

I was of the understanding that as of 20204.7 I would be able to adjust the Home Zone, that is not the case. Your help is appreciated.

home-assistant[bot] commented 2 months ago

ifttt documentation ifttt source

home-assistant[bot] commented 2 months ago

Hey there @home-assistant/cloud, mind taking a look at this issue as it has been labeled with an integration (cloud) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `cloud` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign cloud` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


cloud documentation cloud source (message by IssueLinks)

home-assistant[bot] commented 2 months ago

Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration (input_boolean) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `input_boolean` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign input_boolean` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


input_boolean documentation input_boolean source (message by IssueLinks)

frenck commented 2 months ago

You have a homeassistant: section in there with an internal & external URL, this means your main core configuration is managed via YAML; this includes the Home zone.

It is thus correct behavior, and you are indeed not able to edit it via the UI.

If you'd like to have the UI abilities, I would suggest/recommend to remove that section from YAML and configure internal & external URL via the UI as well.

../Frenck

dwdonnelly commented 2 months ago

Many thanks for the quick reply! ok, I removed (by commenting out) the internal & external URL. Restarted HA and I can indeed edit the Home Zone size. Thank you!

Now - confused? Where do I configure internal & external URL via the UI?

frenck commented 2 months ago

@dwdonnelly No problem!

Settings -> General -> Network

CleanShot 2024-07-05 at 22 20 19@2x

Internet = external network Local network = internal network

When you uncheck one of them, you can provide a manual configuration. (But please note, 99% of the cases, an auto-configuration should be sufficient).

dwdonnelly commented 2 months ago

ah - I do not have a "General" choice. image

dwdonnelly commented 2 months ago

Wait - I found it.

frenck commented 2 months ago

Sorry my bad, missed the "System" step

Settings -> System -> General -> Network

dwdonnelly commented 2 months ago

ok. Here are the settings. I did not change anything. image

So, it was my understanding that for the "Chimes TTS" integration to work (https://community.home-assistant.io/t/chime-tts-play-audio-before-after-tts-audio-lag-free/578430/526?u=dwdonnelly), I had to place this code in my configuration.yaml file: homeassistant: external_url: "https://xxxxxx.ui.nabu.casa/" # eg Nabu Casa address internal_url: "http://homeassistant.local:8123"

But that is not the case?

frenck commented 2 months ago

These settings should generally not be needed. The external URL is automatically set to the NC address if you have it (hence the checkbox).

The internal URL is generally also auto-detected to your example there (or might be IP based, either way, local network).

dwdonnelly commented 2 months ago

ok - thanks ! I will run some testing here to verify - THANKS ! Learning something new everyday !!

dwdonnelly commented 2 months ago

@frenck OK - just ran a test....not good. If I comment out the following in my configuration.yaml file as suggested: homeassistant: external_url: "https://xxxxxxxx.ui.nabu.casa/" # eg Nabu Casa address internal_url: "http://homeassistant.local:8123"

save, restart HA......

then the Chimes TTS integration does not work.

If I put that code back in the configuration.yaml file, save, restart HA, then the Chimes TTS integration works.

Is this an HA problem or a problem with the Chimes TTS integration?

dwdonnelly commented 2 months ago

@frenck Just following up on my comment above, https://github.com/home-assistant/core/issues/121319#issuecomment-2211414592 on which direction I should take?