mirror of
https://github.com/home-assistant/core.git
synced 2025-12-25 05:26:47 +00:00
Fix issue with group unique id when normalising bridge id (#30904)
This commit is contained in:
committed by
Paulus Schoutsen
parent
1d41cf96ca
commit
7b29a498c6
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user