Fix issue with group unique id when normalising bridge id (#30904)
This commit is contained in:
parent
1d41cf96ca
commit
7b29a498c6
6 changed files with 28 additions and 15 deletions
|
@ -5,7 +5,7 @@ import pytest
|
|||
import voluptuous as vol
|
||||
|
||||
from homeassistant.components import deconz
|
||||
from homeassistant.components.deconz.const import CONF_BRIDGEID
|
||||
from homeassistant.components.deconz.const import CONF_BRIDGE_ID
|
||||
|
||||
from .test_gateway import BRIDGEID, setup_deconz_integration
|
||||
|
||||
|
@ -91,7 +91,7 @@ async def test_configure_service_with_field(hass):
|
|||
|
||||
data = {
|
||||
deconz.services.SERVICE_FIELD: "/light/2",
|
||||
CONF_BRIDGEID: BRIDGEID,
|
||||
CONF_BRIDGE_ID: BRIDGEID,
|
||||
deconz.services.SERVICE_DATA: {"on": True, "attr1": 10, "attr2": 20},
|
||||
}
|
||||
|
||||
|
@ -180,7 +180,7 @@ async def test_service_refresh_devices(hass):
|
|||
"""Test that service can refresh devices."""
|
||||
gateway = await setup_deconz_integration(hass)
|
||||
|
||||
data = {CONF_BRIDGEID: BRIDGEID}
|
||||
data = {CONF_BRIDGE_ID: BRIDGEID}
|
||||
|
||||
with patch(
|
||||
"pydeconz.DeconzSession.request",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue