Fix for broken virtual keys (#7439)
This commit is contained in:
parent
1d9f1487c3
commit
ea36c91919
1 changed files with 2 additions and 0 deletions
|
@ -577,6 +577,8 @@ def _device_from_servicecall(hass, service):
|
||||||
"""Extract homematic device from service call."""
|
"""Extract homematic device from service call."""
|
||||||
address = service.data.get(ATTR_ADDRESS)
|
address = service.data.get(ATTR_ADDRESS)
|
||||||
proxy = service.data.get(ATTR_PROXY)
|
proxy = service.data.get(ATTR_PROXY)
|
||||||
|
if address == 'BIDCOS-RF':
|
||||||
|
address = 'BidCoS-RF'
|
||||||
|
|
||||||
if proxy:
|
if proxy:
|
||||||
return hass.data[DATA_HOMEMATIC].devices[proxy].get(address)
|
return hass.data[DATA_HOMEMATIC].devices[proxy].get(address)
|
||||||
|
|
Loading…
Add table
Reference in a new issue