Skip to content

Commit

Permalink
Fix Swiss public transport feedback (#114373)
Browse files Browse the repository at this point in the history
  • Loading branch information
joostlek committed Mar 28, 2024
1 parent fc672be commit e1bff6d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions homeassistant/components/swiss_public_transport/sensor.py
Expand Up @@ -131,12 +131,12 @@ async def async_setup_platform(
async_create_issue(
hass,
DOMAIN,
f"deprecated_yaml_import_issue_${result['reason']}",
f"deprecated_yaml_import_issue_{result['reason']}",
breaks_in_ha_version="2024.7.0",
is_fixable=False,
issue_domain=DOMAIN,
severity=IssueSeverity.WARNING,
translation_key=f"deprecated_yaml_import_issue_${result['reason']}",
translation_key=f"deprecated_yaml_import_issue_{result['reason']}",
translation_placeholders=PLACEHOLDERS,
)

Expand Down
Expand Up @@ -38,7 +38,7 @@
"issues": {
"deprecated_yaml_import_issue_cannot_connect": {
"title": "The swiss public transport YAML configuration import cannot connect to server",
"description": "Configuring swiss public transport using YAML is being removed but there was an connection error importing your YAML configuration.\n\nMake sure your home assistant can reach the [opendata server]({opendata_url}). In case the server is down, try again later."
"description": "Configuring swiss public transport using YAML is being removed but there was a connection error importing your YAML configuration.\n\nMake sure your home assistant can reach the [opendata server]({opendata_url}). In case the server is down, try again later."
},
"deprecated_yaml_import_issue_bad_config": {
"title": "The swiss public transport YAML configuration import request failed due to bad config",
Expand Down

0 comments on commit e1bff6d

Please sign in to comment.