3f2d3bd1b2710e14ca5bb58f4386a23a0ae933d2,tests/components/deconz/test_light.py,,test_configuration_tool,#Any#Any#,319
Before Change
async def test_configuration_tool(hass, aioclient_mock):
Test that lights or groups entities are created.
data = deepcopy(DECONZ_WEB_REQUEST)
data["lights"] = {
"0": {
"etag": "26839cb118f5bf7ba1f2108256644010",
"hascolor": False,
"lastannounced": None,
"lastseen": "2020-11-22T11:27Z",
"manufacturername": "dresden elektronik",
"modelid": "ConBee II",
"name": "Configuration tool 1",
"state": {"reachable": True},
"swversion": "0x264a0700",
"type": "Configuration tool",
"uniqueid": "00:21:2e:ff:ff:05:a7:a3-01",
}
}
await setup_deconz_integration(hass, aioclient_mock, get_state_response=data)
assert len(hass.states.async_all()) == 0
After Change
async def test_configuration_tool(hass, aioclient_mock):
Test that configuration tool is not created.
data = {
"lights": {
"0": {
"etag": "26839cb118f5bf7ba1f2108256644010",
"hascolor": False,
"lastannounced": None,
"lastseen": "2020-11-22T11:27Z",
"manufacturername": "dresden elektronik",
"modelid": "ConBee II",
"name": "Configuration tool 1",
"state": {"reachable": True},
"swversion": "0x264a0700",
"type": "Configuration tool",
"uniqueid": "00:21:2e:ff:ff:05:a7:a3-01",
}
}
}
with patch.dict(DECONZ_WEB_REQUEST, data):
await setup_deconz_integration(hass, aioclient_mock)
assert len(hass.states.async_all()) == 0
async def test_ikea_default_transition_time(hass, aioclient_mock):
In pattern: SUPERPATTERN
Frequency: 6
Non-data size: 11
Instances
Project Name: home-assistant/home-assistant
Commit Name: 3f2d3bd1b2710e14ca5bb58f4386a23a0ae933d2
Time: 2021-03-18
Author: Kane610@users.noreply.github.com
File Name: tests/components/deconz/test_light.py
Class Name:
Method Name: test_configuration_tool
Project Name: home-assistant/home-assistant
Commit Name: a4b2dff58d9c59c101e3cf0b3812b1d1e8197b50
Time: 2021-03-18
Author: Kane610@users.noreply.github.com
File Name: tests/components/deconz/test_sensor.py
Class Name:
Method Name: test_air_quality_sensor
Project Name: home-assistant/home-assistant
Commit Name: 3f2d3bd1b2710e14ca5bb58f4386a23a0ae933d2
Time: 2021-03-18
Author: Kane610@users.noreply.github.com
File Name: tests/components/deconz/test_light.py
Class Name:
Method Name: test_verify_group_supported_features
Project Name: home-assistant/home-assistant
Commit Name: a4b2dff58d9c59c101e3cf0b3812b1d1e8197b50
Time: 2021-03-18
Author: Kane610@users.noreply.github.com
File Name: tests/components/deconz/test_sensor.py
Class Name:
Method Name: test_special_danfoss_battery_creation
Project Name: home-assistant/home-assistant
Commit Name: a4b2dff58d9c59c101e3cf0b3812b1d1e8197b50
Time: 2021-03-18
Author: Kane610@users.noreply.github.com
File Name: tests/components/deconz/test_sensor.py
Class Name:
Method Name: test_unsupported_sensor
Project Name: home-assistant/home-assistant
Commit Name: a4b2dff58d9c59c101e3cf0b3812b1d1e8197b50
Time: 2021-03-18
Author: Kane610@users.noreply.github.com
File Name: tests/components/deconz/test_sensor.py
Class Name:
Method Name: test_time_sensor