Skip to content
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

Validation of translation placeholder (pl) #111561

Closed
solarssk opened this issue Feb 26, 2024 · 8 comments
Closed

Validation of translation placeholder (pl) #111561

solarssk opened this issue Feb 26, 2024 · 8 comments

Comments

@solarssk
Copy link

The problem

After upgrade to version 2024.2.4, I noticed in logs error with validation of translation.

What version of Home Assistant Core has the issue?

core-2024.2.4

What was the last working version of Home Assistant Core?

core-2024.2.3

What type of installation are you running?

Home Assistant OS

Integration causing the issue

roborock

Link to integration documentation on our website

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

Diagnostics information

config_entry-roborock-83649f9d2ed4c328896ee41161d6150b.json

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.helpers.translation
Source: helpers/translation.py:288
First occurred: 23:31:14 (2 occurrences)
Last logged: 23:31:14

Validation of translation placeholders for localized (pl) string component.roborock.config.step.reauth_confirm.title failed

Additional information

No response

@home-assistant
Copy link

Hey there @humbertogontijo, @Lash-L, mind taking a look at this issue as it has been labeled with an integration (roborock) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of roborock 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 roborock 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)


roborock documentation
roborock source
(message by IssueLinks)

@solarssk solarssk changed the title Validation of translation placeholder Validation of translation placeholder (pl) Feb 26, 2024
@akloeckner
Copy link
Contributor

Just to note: I see the same warnings for German language and different integrations:

Validation of translation placeholders for localized (de) string component.homeassistant.issues.config_entry_reauth.title failed
Validation of translation placeholders for localized (de) string component.androidtv_remote.config.step.reauth_confirm.title failed
Validation of translation placeholders for localized (de) string component.spotify.config.step.reauth_confirm.title failed
Validation of translation placeholders for localized (de) string component.google.config.step.reauth_confirm.title failed

@micium
Copy link

micium commented Feb 27, 2024

I confirm the warning in the LOG after update to 2024.2.4 for different integration also in (it) :
Validation of translation placeholders for localized (it) string component.**.reauth_confirm.title failed

@TheJulianJES
Copy link
Contributor

This issue should be fixed with Home Assistant Core 2024.2.5.

@joaommarques
Copy link

Just updated my version to 2024.2.5 and still got the same error.
Validation of translation placeholders for localized (pt) string component.spotify.config.step.reauth_confirm.title failed.

@marekmarecki
Copy link

Same as @joaommarques , I went straight from 2024.1.5 to 2024.2.5 and got this in the logs:

Source: helpers/translation.py:288
First occurred: 28 lutego 2024 21:54:27 (1 occurrences)
Last logged: 28 lutego 2024 21:54:27
Validation of translation placeholders for localized (pl) string component.homeassistant.issues.config_entry_reauth.title failed```

@LucaV87
Copy link

LucaV87 commented Feb 29, 2024

same problem

2024-02-29 09:07:44.025 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration myhome which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2024-02-29 09:07:44.025 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2024-02-29 09:07:55.920 WARNING (MainThread) [homeassistant.const] ENTITY_CATEGORY_CONFIG was used from myhome, this is a deprecated constant which will be removed in HA Core 2025.1. Use EntityCategory.CONFIG instead, please create a bug report at https://github.com/anotherjulien/MyHOME/issues 2024-02-29 09:08:45.345 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.notion.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.346 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.fitbit.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.348 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.uptimerobot.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.349 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.surepetcare.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.352 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.totalconnect.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.353 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.skybell.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.354 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.fibaro.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.355 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.openuv.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.358 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.huawei_lte.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.359 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.brunt.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.361 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.radarr.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.362 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.google_sheets.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.363 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.yolink.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.366 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.nuki.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.368 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.honeywell.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.369 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.transmission.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.370 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.electric_kiwi.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.373 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.ring.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.375 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.watttime.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.375 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.withings.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.376 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.sense.config.step.reauth_validate.title failed 2024-02-29 09:08:45.376 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.opower.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.377 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.schlage.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.379 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.netatmo.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.379 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.ridwell.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.380 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.sleepiq.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.381 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.icloud.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.386 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.twitch.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.386 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.aussie_broadband.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.389 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.youtube.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.392 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.google_mail.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.395 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.mikrotik.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.395 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.litterrobot.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.396 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.sonarr.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.396 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.tplink.config.error.cannot_connect failed 2024-02-29 09:08:45.397 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.roborock.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.399 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.pushover.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.400 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.renault.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.400 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.geocaching.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.401 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.spotify.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.401 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.androidtv_remote.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.404 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.aladdin_connect.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.404 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.google_assistant_sdk.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.405 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.jvc_projector.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.406 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.caldav.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.410 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.reolink.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.411 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.ezviz.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.412 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.google.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.413 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.smarttub.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.414 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.steam_online.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.417 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.lyric.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.418 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.imap.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.419 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.laundrify.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.422 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.nest.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.424 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.bosch_shc.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.424 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.lidarr.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.425 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.jellyfin.config.step.reauth_confirm.title failed 2024-02-29 09:08:45.426 ERROR (MainThread) [homeassistant.helpers.translation] Validation of translation placeholders for localized (it) string component.xiaomi_miio.config.step.reauth_confirm.title failed 2024-02-29 12:04:15.437 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry F454 Gateway for myhome Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 444, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/myhome/__init__.py", line 51, in async_setup_entry _validated_config = config_schema(yaml.safe_load(await yaml_file.read())) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/myhome/validate.py", line 177, in __call__ data = super().__call__(data) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/voluptuous/schema_builder.py", line 272, in __call__ return self._compiled([], data) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/voluptuous/schema_builder.py", line 595, in validate_dict return base_validate(path, iteritems(data), out) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/voluptuous/schema_builder.py", line 433, in validate_mapping raise er.MultipleInvalid(errors) voluptuous.error.MultipleInvalid: extra keys not allowed @ data['dining_room']['where'] 2024-02-29 12:04:27.453 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry F454 Gateway for myhome Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 444, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/myhome/__init__.py", line 51, in async_setup_entry _validated_config = config_schema(yaml.safe_load(await yaml_file.read())) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/myhome/validate.py", line 177, in __call__ data = super().__call__(data) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/voluptuous/schema_builder.py", line 272, in __call__ return self._compiled([], data) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/voluptuous/schema_builder.py", line 595, in validate_dict return base_validate(path, iteritems(data), out) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/voluptuous/schema_builder.py", line 433, in validate_mapping raise er.MultipleInvalid(errors) voluptuous.error.MultipleInvalid: extra keys not allowed @ data['dining_room']['where'] 2024-02-29 12:08:35.619 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry F454 Gateway for myhome Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 444, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/myhome/__init__.py", line 51, in async_setup_entry _validated_config = config_schema(yaml.safe_load(await yaml_file.read())) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/myhome/validate.py", line 177, in __call__ data = super().__call__(data) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/voluptuous/schema_builder.py", line 272, in __call__ return self._compiled([], data) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/voluptuous/schema_builder.py", line 595, in validate_dict return base_validate(path, iteritems(data), out) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/voluptuous/schema_builder.py", line 433, in validate_mapping raise er.MultipleInvalid(errors) voluptuous.error.MultipleInvalid: extra keys not allowed @ data['dining_room']['where'] 2024-02-29 12:09:03.945 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry F454 Gateway for myhome Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 444, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/myhome/__init__.py", line 51, in async_setup_entry _validated_config = config_schema(yaml.safe_load(await yaml_file.read())) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/myhome/validate.py", line 177, in __call__ data = super().__call__(data) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/voluptuous/schema_builder.py", line 272, in __call__ return self._compiled([], data) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/voluptuous/schema_builder.py", line 595, in validate_dict return base_validate(path, iteritems(data), out) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/voluptuous/schema_builder.py", line 433, in validate_mapping raise er.MultipleInvalid(errors) voluptuous.error.MultipleInvalid: extra keys not allowed @ data['dining_room']['where'] 2024-02-29 12:10:40.810 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry F454 Gateway for myhome Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 444, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/myhome/__init__.py", line 51, in async_setup_entry _validated_config = config_schema(yaml.safe_load(await yaml_file.read())) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/__init__.py", line 125, in safe_load return load(stream, SafeLoader) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/__init__.py", line 81, in load return loader.get_single_data() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/constructor.py", line 49, in get_single_data node = self.get_single_node() ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/composer.py", line 36, in get_single_node document = self.compose_document() ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/composer.py", line 55, in compose_document node = self.compose_node(None, None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/composer.py", line 84, in compose_node node = self.compose_mapping_node(anchor) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/composer.py", line 127, in compose_mapping_node while not self.check_event(MappingEndEvent): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/parser.py", line 98, in check_event self.current_event = self.state() ^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/parser.py", line 438, in parse_block_mapping_key raise ParserError("while parsing a block mapping", self.marks[-1], yaml.parser.ParserError: while parsing a block mapping in "<unicode string>", line 1, column 1: f454: ^ expected <block end>, but found '<block mapping start>' in "<unicode string>", line 22, column 3: switch: ^ 2024-02-29 12:10:46.836 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry F454 Gateway for myhome Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 444, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/myhome/__init__.py", line 51, in async_setup_entry _validated_config = config_schema(yaml.safe_load(await yaml_file.read())) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/__init__.py", line 125, in safe_load return load(stream, SafeLoader) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/__init__.py", line 81, in load return loader.get_single_data() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/constructor.py", line 49, in get_single_data node = self.get_single_node() ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/composer.py", line 36, in get_single_node document = self.compose_document() ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/composer.py", line 55, in compose_document node = self.compose_node(None, None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/composer.py", line 84, in compose_node node = self.compose_mapping_node(anchor) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/composer.py", line 127, in compose_mapping_node while not self.check_event(MappingEndEvent): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/parser.py", line 98, in check_event self.current_event = self.state() ^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/parser.py", line 438, in parse_block_mapping_key raise ParserError("while parsing a block mapping", self.marks[-1], yaml.parser.ParserError: while parsing a block mapping in "<unicode string>", line 1, column 1: f454: ^ expected <block end>, but found '<block mapping start>' in "<unicode string>", line 22, column 3: switch: ^ 2024-02-29 12:13:00.653 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry F454 Gateway for myhome Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 444, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/myhome/__init__.py", line 51, in async_setup_entry _validated_config = config_schema(yaml.safe_load(await yaml_file.read())) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/__init__.py", line 125, in safe_load return load(stream, SafeLoader) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/__init__.py", line 81, in load return loader.get_single_data() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/constructor.py", line 49, in get_single_data node = self.get_single_node() ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/composer.py", line 36, in get_single_node document = self.compose_document() ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/composer.py", line 55, in compose_document node = self.compose_node(None, None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/composer.py", line 84, in compose_node node = self.compose_mapping_node(anchor) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/composer.py", line 127, in compose_mapping_node while not self.check_event(MappingEndEvent): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/parser.py", line 98, in check_event self.current_event = self.state() ^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/parser.py", line 438, in parse_block_mapping_key raise ParserError("while parsing a block mapping", self.marks[-1], yaml.parser.ParserError: while parsing a block mapping in "<unicode string>", line 1, column 1: f454: ^ expected <block end>, but found '<block mapping start>' in "<unicode string>", line 22, column 3: switch: ^

Core 2024.2.5
Frontend 20240207.1

@TheJulianJES
Copy link
Contributor

Some of the languages might not have been updated yet. Upgrade to the current HA beta (2024.3.0b) or ignore the message.
There won't be another 2024.2.6 release.

@github-actions github-actions bot locked and limited conversation to collaborators Mar 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants