mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Update __init__.py (#48659)
This change solves that HMIP-RCV-1 is not found when used in a service call to invoke a virtual key (case-sensitivity problem). - https://community.home-assistant.io/t/homematic-hmip-rcv-50-not-working-with-virtual-key-any-more/249000 - https://github.com/danielperna84/pyhomematic/issues/368
This commit is contained in:
parent
fa8436889a
commit
c732749640
@ -611,6 +611,8 @@ def _device_from_servicecall(hass, service):
|
||||
interface = service.data.get(ATTR_INTERFACE)
|
||||
if address == "BIDCOS-RF":
|
||||
address = "BidCoS-RF"
|
||||
if address == "HMIP-RCV-1":
|
||||
address = "HmIP-RCV-1"
|
||||
|
||||
if interface:
|
||||
return hass.data[DATA_HOMEMATIC].devices[interface].get(address)
|
||||
|
Loading…
x
Reference in New Issue
Block a user