Fix groups reporting incorrect supported color modes (#53088)

This commit is contained in:
Robert Svensson 2021-07-19 10:32:21 +02:00 committed by GitHub
parent bf831267cf
commit c96f01df1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 4 deletions

View file

@ -4,7 +4,7 @@
"config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/deconz",
"requirements": [
"pydeconz==81"
"pydeconz==82"
],
"ssdp": [
{

View file

@ -1370,7 +1370,7 @@ pydaikin==2.4.4
pydanfossair==0.1.0
# homeassistant.components.deconz
pydeconz==81
pydeconz==82
# homeassistant.components.delijn
pydelijn==0.6.1

View file

@ -765,7 +765,7 @@ pycoolmasternet-async==0.1.2
pydaikin==2.4.4
# homeassistant.components.deconz
pydeconz==81
pydeconz==82
# homeassistant.components.dexcom
pydexcom==0.2.0

View file

@ -742,7 +742,18 @@ async def test_groups(hass, aioclient_mock, input, expected):
"name": "Group",
"type": "LightGroup",
"state": {"all_on": False, "any_on": True},
"action": {},
"action": {
"alert": "none",
"bri": 127,
"colormode": "hs",
"ct": 0,
"effect": "none",
"hue": 0,
"on": True,
"sat": 127,
"scene": None,
"xy": [0, 0],
},
"scenes": [],
"lights": input["lights"],
},