Don't warn for missing services (#23182)
This commit is contained in:
parent
474ac8b09e
commit
ce8ec3acb1
1 changed files with 2 additions and 3 deletions
|
@ -210,9 +210,8 @@ async def async_get_all_descriptions(hass):
|
|||
domain_yaml = loaded[domain]
|
||||
yaml_description = domain_yaml.get(service, {})
|
||||
|
||||
if not yaml_description:
|
||||
_LOGGER.warning("Missing service description for %s/%s",
|
||||
domain, service)
|
||||
# Don't warn for missing services, because it triggers false
|
||||
# positives for things like scripts, that register as a service
|
||||
|
||||
description = descriptions_cache[cache_key] = {
|
||||
'description': yaml_description.get('description', ''),
|
||||
|
|
Loading…
Add table
Reference in a new issue