Fix mixed case service schema registration (#96448)
This commit is contained in:
parent
7009683226
commit
08af42b00e
3 changed files with 25 additions and 1 deletions
|
@ -1770,7 +1770,7 @@ class ServiceRegistry:
|
|||
the context. Will return NONE if the service does not exist as there is
|
||||
other error handling when calling the service if it does not exist.
|
||||
"""
|
||||
if not (handler := self._services[domain][service]):
|
||||
if not (handler := self._services[domain.lower()][service.lower()]):
|
||||
return SupportsResponse.NONE
|
||||
return handler.supports_response
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue