Fix issue with group unique id when normalising bridge id (#30904)

This commit is contained in:
Robert Svensson authored and Paulus Schoutsen committed 2020-01-17 15:28:34 -08:00
1 parent 1d41cf96ca
commit 7b29a498c6
6 files changed
+28 -15

No files matched your search

+3 -3
View File
@@ -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",