show which component is causing translation errors (#22340)
This commit is contained in:
parent
49b92b5349
commit
c5f4aa0466
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ def component_translation_file(hass: HomeAssistantType, component: str,
|
|||
# It's a platform
|
||||
parts = component.split('.', 1)
|
||||
module = get_platform(hass, *parts)
|
||||
assert module is not None
|
||||
assert module is not None, component
|
||||
|
||||
# Either within HA or custom_components
|
||||
# Either light/hue.py or hue/light.py
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue