File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
homeassistant/components/enphase_envoy
tests/components/enphase_envoy Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ async def inspect_action(call: ServiceCall) -> Any:
104104 translation_key = "envoy_service_envoy_not_found" ,
105105 translation_placeholders = {
106106 "service" : call .service ,
107- "args " : str (device_id ),
107+ "device_id " : str (device_id ),
108108 },
109109 )
110110
Original file line number Diff line number Diff line change 724724 "message" : " Error communicating with Envoy API on {host}: {args}"
725725 },
726726 "envoy_service_envoy_not_found" : {
727- "message" : " No Envoy found with specified device id: {service} {args }"
727+ "message" : " No Envoy found with device ID {device_id} by {service }"
728728 },
729729 "not_initialized" : {
730730 "message" : " {service}: Enphase envoy is not yet initialized"
Original file line number Diff line number Diff line change @@ -268,7 +268,7 @@ async def test_service_inspect_device_id_error(
268268
269269 with pytest .raises (
270270 ServiceValidationError ,
271- match = "No Envoy found with specified device id " ,
271+ match = "No Envoy found with device ID " ,
272272 ):
273273 await hass .services .async_call (
274274 DOMAIN ,
You can’t perform that action at this time.
0 commit comments