JurajNyiri / HomeAssistant-Tapo-Control

Control for Tapo cameras as a Home Assistant component
Apache License 2.0
947 stars 80 forks source link

reload_config_entry ends with unknown error #555

Open scetu opened 2 months ago

scetu commented 2 months ago

Description

After calling homeassistant.reload_config_entry it fails (I must say that config_entry comes from custom component https://github.com/JurajNyiri/HomeAssistant-Tapo-Control)

service: homeassistant.reload_config_entry
data: {}
target:
  device_id:
    - 88e356383b63391290aa1b3539239906

fails with

Translation Error: The intl string context variable "reason" was not provided to the string "Stopped because of unknown reason {reason} at {time} (runtime: {executiontime} seconds)"

image

Referenced in Core as issue, but repoted integration Bosch Smarthome has fixed it within integration itself - https://github.com/home-assistant/core/issues/115060

Reproduction Steps

service: homeassistant.reload_config_entry
data: {}
target:
  device_id:
    - 88e356383b63391290aa1b3539239906

Expected behavior

Entitty/Device is reloaded without error.

If applicable, add error logs.

No response

Device Firmware

1.3.11

Integration Version

5.4.17

Using stream component

Yes

Does camera work via official integrations?

Yes

Camera has all attributes filled out in developer tools

Yes

HASS Environment

HAOS

Search for similar issues

Yes

Additional information

No response