diff --git a/homeassistant/components/home_plus_control/__init__.py b/homeassistant/components/home_plus_control/__init__.py index 0accf53970d..2ed37480705 100644 --- a/homeassistant/components/home_plus_control/__init__.py +++ b/homeassistant/components/home_plus_control/__init__.py @@ -54,7 +54,7 @@ PLATFORMS = [Platform.SWITCH] _LOGGER = logging.getLogger(__name__) -_ISSUE_MOTE_TO_NETAMO = "move_to_netamo" +_ISSUE_MOVE_TO_NETATMO = "move_to_netatmo" async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: @@ -67,12 +67,12 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: async_create_issue( hass, DOMAIN, - _ISSUE_MOTE_TO_NETAMO, + _ISSUE_MOVE_TO_NETATMO, is_fixable=False, is_persistent=False, - breaks_in_ha_version="2023.12.0", # Netamo decided to shutdown the api in december + breaks_in_ha_version="2023.12.0", # Netatmo decided to shutdown the api in december severity=IssueSeverity.WARNING, - translation_key=_ISSUE_MOTE_TO_NETAMO, + translation_key=_ISSUE_MOVE_TO_NETATMO, translation_placeholders={ "url": "https://www.home-assistant.io/integrations/netatmo/" }, @@ -94,12 +94,12 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: async_create_issue( hass, DOMAIN, - _ISSUE_MOTE_TO_NETAMO, + _ISSUE_MOVE_TO_NETATMO, is_fixable=False, is_persistent=False, - breaks_in_ha_version="2023.12.0", # Netamo decided to shutdown the api in december + breaks_in_ha_version="2023.12.0", # Netatmo decided to shutdown the api in december severity=IssueSeverity.WARNING, - translation_key=_ISSUE_MOTE_TO_NETAMO, + translation_key=_ISSUE_MOVE_TO_NETATMO, translation_placeholders={ "url": "https://www.home-assistant.io/integrations/netatmo/" }, @@ -203,6 +203,6 @@ async def async_unload_entry(hass: HomeAssistant, config_entry: ConfigEntry) -> # And finally unload the domain config entry data hass.data[DOMAIN].pop(config_entry.entry_id) - async_delete_issue(hass, DOMAIN, _ISSUE_MOTE_TO_NETAMO) + async_delete_issue(hass, DOMAIN, _ISSUE_MOVE_TO_NETATMO) return unload_ok diff --git a/homeassistant/components/home_plus_control/strings.json b/homeassistant/components/home_plus_control/strings.json index d795323586d..280a92055bd 100644 --- a/homeassistant/components/home_plus_control/strings.json +++ b/homeassistant/components/home_plus_control/strings.json @@ -18,7 +18,7 @@ } }, "issues": { - "move_to_netamo": { + "move_to_netatmo": { "title": "Legrand Home+ Control deprecation", "description": "Home Assistant has been informed that the platform the Legrand Home+ Control integration is using, will be shutting down upcoming December.\n\nOnce that happens, it means this integration is no longer functional. We advise you to remove this integration and switch to the [Netatmo]({url}) integration, which provides a replacement for controlling your Legrand Home+ Control devices." }