diff --git a/homeassistant/components/peblar/strings.json b/homeassistant/components/peblar/strings.json index a6fa3acf457..f6a228ca236 100644 --- a/homeassistant/components/peblar/strings.json +++ b/homeassistant/components/peblar/strings.json @@ -20,7 +20,7 @@ "data_description": { "password": "[%key:component::peblar::config::step::user::data_description::password%]" }, - "description": "Reauthenticate with your Peblar RV charger.\n\nTo do so, you will need to enter your new password you use to log into Peblar's device web interface." + "description": "Reauthenticate with your Peblar EV charger.\n\nTo do so, you will need to enter your new password you use to log into Peblar EV charger' web interface." }, "reconfigure": { "data": { @@ -31,7 +31,7 @@ "host": "[%key:component::peblar::config::step::user::data_description::host%]", "password": "[%key:component::peblar::config::step::user::data_description::password%]" }, - "description": "Reconfigure your Peblar EV charger.\n\nThis allows you to change the IP address of your Peblar charger and the password you use to log into the Peblar device' web interface." + "description": "Reconfigure your Peblar EV charger.\n\nThis allows you to change the IP address of your Peblar EV charger and the password you use to log into its web interface." }, "user": { "data": { @@ -39,10 +39,10 @@ "password": "[%key:common::config_flow::data::password%]" }, "data_description": { - "host": "The hostname or IP address of your Peblar charger on your home network.", - "password": "The same password as you use to log in to the Peblar device' local web interface." + "host": "The hostname or IP address of your Peblar EV charger on your home network.", + "password": "The same password as you use to log in to the Peblar EV charger' local web interface." }, - "description": "Set up your Peblar EV charger to integrate with Home Assistant.\n\nTo do so, you will need to get the IP address of your Peblar charger and the password you use to log into the Peblar device' web interface.\n\nHome Assistant will automatically configure your Peblar charger for use with Home Assistant." + "description": "Set up your Peblar EV charger to integrate with Home Assistant.\n\nTo do so, you will need to get the IP address of your Peblar EV charger and the password you use to log into its web interface.\n\nHome Assistant will automatically configure your Peblar EV charger for use with Home Assistant." }, "zeroconf_confirm": { "data": { @@ -51,7 +51,7 @@ "data_description": { "password": "[%key:component::peblar::config::step::user::data_description::password%]" }, - "description": "Set up your Peblar EV charger to integrate with Home Assistant.\n\nTo do so, you will need the password you use to log into the Peblar device' web interface.\n\nHome Assistant will automatically configure your Peblar charger for use with Home Assistant." + "description": "Set up your Peblar EV charger to integrate with Home Assistant.\n\nTo do so, you will need the password you use to log into the Peblar EV charger' web interface.\n\nHome Assistant will automatically configure your Peblar EV charger for use with Home Assistant." } } }, @@ -164,13 +164,13 @@ }, "exceptions": { "authentication_error": { - "message": "An authentication failure occurred while communicating with the Peblar device." + "message": "An authentication failure occurred while communicating with the Peblar EV charger." }, "communication_error": { - "message": "An error occurred while communicating with the Peblar device: {error}" + "message": "An error occurred while communicating with the Peblar EV charger: {error}" }, "unknown_error": { - "message": "An unknown error occurred while communicating with the Peblar device: {error}" + "message": "An unknown error occurred while communicating with the Peblar EV charger: {error}" } } } diff --git a/tests/components/peblar/test_binary_sensor.py b/tests/components/peblar/test_binary_sensor.py index 670b5b67145..affcde483ea 100644 --- a/tests/components/peblar/test_binary_sensor.py +++ b/tests/components/peblar/test_binary_sensor.py @@ -23,7 +23,7 @@ async def test_entities( """Test the binary sensors entities.""" await snapshot_platform(hass, entity_registry, snapshot, mock_config_entry.entry_id) - # Ensure all entities are correctly assigned to the Peblar device + # Ensure all entities are correctly assigned to the Peblar EV charger device_entry = device_registry.async_get_device( identifiers={(DOMAIN, "23-45-A4O-MOF")} ) diff --git a/tests/components/peblar/test_button.py b/tests/components/peblar/test_button.py index e9ab377db67..a47f190a941 100644 --- a/tests/components/peblar/test_button.py +++ b/tests/components/peblar/test_button.py @@ -34,7 +34,7 @@ async def test_entities( """Test the button entities.""" await snapshot_platform(hass, entity_registry, snapshot, mock_config_entry.entry_id) - # Ensure all entities are correctly assigned to the Peblar device + # Ensure all entities are correctly assigned to the Peblar EV charger device_entry = device_registry.async_get_device( identifiers={(DOMAIN, "23-45-A4O-MOF")} ) @@ -81,7 +81,7 @@ async def test_buttons( HomeAssistantError, match=( r"An error occurred while communicating " - r"with the Peblar device: Could not connect" + r"with the Peblar EV charger: Could not connect" ), ) as excinfo: await hass.services.async_call( @@ -101,7 +101,7 @@ async def test_buttons( HomeAssistantError, match=( r"An unknown error occurred while communicating " - r"with the Peblar device: Unknown error" + r"with the Peblar EV charger: Unknown error" ), ) as excinfo: await hass.services.async_call( @@ -122,7 +122,7 @@ async def test_buttons( HomeAssistantError, match=( r"An authentication failure occurred while communicating " - r"with the Peblar device" + r"with the Peblar EV charger" ), ) as excinfo: await hass.services.async_call( diff --git a/tests/components/peblar/test_coordinator.py b/tests/components/peblar/test_coordinator.py index f438d807920..7f073af9554 100644 --- a/tests/components/peblar/test_coordinator.py +++ b/tests/components/peblar/test_coordinator.py @@ -26,7 +26,7 @@ pytestmark = [ ( PeblarConnectionError("Could not connect"), ( - "An error occurred while communicating with the Peblar device: " + "An error occurred while communicating with the Peblar EV charger: " "Could not connect" ), ), @@ -34,7 +34,7 @@ pytestmark = [ PeblarError("Unknown error"), ( "An unknown error occurred while communicating " - "with the Peblar device: Unknown error" + "with the Peblar EV charger: Unknown error" ), ), ], diff --git a/tests/components/peblar/test_number.py b/tests/components/peblar/test_number.py index 2a8fca46e91..57469fecbc6 100644 --- a/tests/components/peblar/test_number.py +++ b/tests/components/peblar/test_number.py @@ -36,7 +36,7 @@ async def test_entities( """Test the number entities.""" await snapshot_platform(hass, entity_registry, snapshot, mock_config_entry.entry_id) - # Ensure all entities are correctly assigned to the Peblar device + # Ensure all entities are correctly assigned to the Peblar EV charger device_entry = device_registry.async_get_device( identifiers={(DOMAIN, "23-45-A4O-MOF")} ) @@ -80,7 +80,7 @@ async def test_number_set_value( PeblarConnectionError("Could not connect"), ( r"An error occurred while communicating " - r"with the Peblar device: Could not connect" + r"with the Peblar EV charger: Could not connect" ), "communication_error", {"error": "Could not connect"}, @@ -89,7 +89,7 @@ async def test_number_set_value( PeblarError("Unknown error"), ( r"An unknown error occurred while communicating " - r"with the Peblar device: Unknown error" + r"with the Peblar EV charger: Unknown error" ), "unknown_error", {"error": "Unknown error"}, @@ -143,7 +143,7 @@ async def test_number_set_value_authentication_error( HomeAssistantError, match=( r"An authentication failure occurred while communicating " - r"with the Peblar device" + r"with the Peblar EV charger" ), ) as excinfo: await hass.services.async_call( diff --git a/tests/components/peblar/test_select.py b/tests/components/peblar/test_select.py index 5e4ab4609d4..be7e182dc39 100644 --- a/tests/components/peblar/test_select.py +++ b/tests/components/peblar/test_select.py @@ -41,7 +41,7 @@ async def test_entities( """Test the select entities.""" await snapshot_platform(hass, entity_registry, snapshot, mock_config_entry.entry_id) - # Ensure all entities are correctly assigned to the Peblar device + # Ensure all entities are correctly assigned to the Peblar EV charger device_entry = device_registry.async_get_device( identifiers={(DOMAIN, "23-45-A4O-MOF")} ) @@ -85,7 +85,7 @@ async def test_select_option( PeblarConnectionError("Could not connect"), ( r"An error occurred while communicating " - r"with the Peblar device: Could not connect" + r"with the Peblar EV charger: Could not connect" ), "communication_error", {"error": "Could not connect"}, @@ -94,7 +94,7 @@ async def test_select_option( PeblarError("Unknown error"), ( r"An unknown error occurred while communicating " - r"with the Peblar device: Unknown error" + r"with the Peblar EV charger: Unknown error" ), "unknown_error", {"error": "Unknown error"}, @@ -150,7 +150,7 @@ async def test_select_option_authentication_error( HomeAssistantError, match=( r"An authentication failure occurred while communicating " - r"with the Peblar device" + r"with the Peblar EV charger" ), ) as excinfo: await hass.services.async_call( diff --git a/tests/components/peblar/test_sensor.py b/tests/components/peblar/test_sensor.py index bad81486838..d689e66e944 100644 --- a/tests/components/peblar/test_sensor.py +++ b/tests/components/peblar/test_sensor.py @@ -24,7 +24,7 @@ async def test_entities( """Test the sensor entities.""" await snapshot_platform(hass, entity_registry, snapshot, mock_config_entry.entry_id) - # Ensure all entities are correctly assigned to the Peblar device + # Ensure all entities are correctly assigned to the Peblar EV charger device_entry = device_registry.async_get_device( identifiers={(DOMAIN, "23-45-A4O-MOF")} ) diff --git a/tests/components/peblar/test_switch.py b/tests/components/peblar/test_switch.py index 6436ac78109..75deeb2d5d3 100644 --- a/tests/components/peblar/test_switch.py +++ b/tests/components/peblar/test_switch.py @@ -36,7 +36,7 @@ async def test_entities( """Test the switch entities.""" await snapshot_platform(hass, entity_registry, snapshot, mock_config_entry.entry_id) - # Ensure all entities are correctly assigned to the Peblar device + # Ensure all entities are correctly assigned to the Peblar EV charger device_entry = device_registry.async_get_device( identifiers={(DOMAIN, "23-45-A4O-MOF")} ) @@ -88,7 +88,7 @@ async def test_switch( PeblarConnectionError("Could not connect"), ( r"An error occurred while communicating " - r"with the Peblar device: Could not connect" + r"with the Peblar EV charger: Could not connect" ), "communication_error", {"error": "Could not connect"}, @@ -97,7 +97,7 @@ async def test_switch( PeblarError("Unknown error"), ( r"An unknown error occurred while communicating " - r"with the Peblar device: Unknown error" + r"with the Peblar EV charger: Unknown error" ), "unknown_error", {"error": "Unknown error"}, @@ -152,7 +152,7 @@ async def test_switch_authentication_error( HomeAssistantError, match=( r"An authentication failure occurred while communicating " - r"with the Peblar device" + r"with the Peblar EV charger" ), ) as excinfo: await hass.services.async_call( diff --git a/tests/components/peblar/test_update.py b/tests/components/peblar/test_update.py index 7a772fbe96c..54eb77abc24 100644 --- a/tests/components/peblar/test_update.py +++ b/tests/components/peblar/test_update.py @@ -23,7 +23,7 @@ async def test_entities( """Test the update entities.""" await snapshot_platform(hass, entity_registry, snapshot, mock_config_entry.entry_id) - # Ensure all entities are correctly assigned to the Peblar device + # Ensure all entities are correctly assigned to the Peblar EV charger device_entry = device_registry.async_get_device( identifiers={(DOMAIN, "23-45-A4O-MOF")} )