Fix groups reporting incorrect supported color modes ()

This commit is contained in:
Robert Svensson 2021-07-19 10:32:21 +02:00 committed by Paulus Schoutsen
parent 0e297c288f
commit 6eb2fd7603
4 changed files with 15 additions and 4 deletions
homeassistant/components/deconz
requirements_all.txtrequirements_test_all.txt
tests/components/deconz

View file

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

View file

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

View file

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

View file

@ -742,7 +742,18 @@ async def test_groups(hass, aioclient_mock, input, expected):
"name": "Group", "name": "Group",
"type": "LightGroup", "type": "LightGroup",
"state": {"all_on": False, "any_on": True}, "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": [], "scenes": [],
"lights": input["lights"], "lights": input["lights"],
}, },