mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 03:37:07 +00:00
Update greeclimate to 0.10.3 (#43248)
* Update greeclimate to 0.10.3 * Device search needs to be mocked in tests
This commit is contained in:
parent
a6f47ac380
commit
eb9e9e67f0
@ -3,6 +3,6 @@
|
|||||||
"name": "Gree Climate",
|
"name": "Gree Climate",
|
||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"documentation": "https://www.home-assistant.io/integrations/gree",
|
"documentation": "https://www.home-assistant.io/integrations/gree",
|
||||||
"requirements": ["greeclimate==0.10.2"],
|
"requirements": ["greeclimate==0.10.3"],
|
||||||
"codeowners": ["@cmroche"]
|
"codeowners": ["@cmroche"]
|
||||||
}
|
}
|
@ -702,7 +702,7 @@ gpiozero==1.5.1
|
|||||||
gps3==0.33.3
|
gps3==0.33.3
|
||||||
|
|
||||||
# homeassistant.components.gree
|
# homeassistant.components.gree
|
||||||
greeclimate==0.10.2
|
greeclimate==0.10.3
|
||||||
|
|
||||||
# homeassistant.components.greeneye_monitor
|
# homeassistant.components.greeneye_monitor
|
||||||
greeneye_monitor==2.1
|
greeneye_monitor==2.1
|
||||||
|
@ -361,7 +361,7 @@ google-cloud-pubsub==2.1.0
|
|||||||
google-nest-sdm==0.1.14
|
google-nest-sdm==0.1.14
|
||||||
|
|
||||||
# homeassistant.components.gree
|
# homeassistant.components.gree
|
||||||
greeclimate==0.10.2
|
greeclimate==0.10.3
|
||||||
|
|
||||||
# homeassistant.components.griddy
|
# homeassistant.components.griddy
|
||||||
griddypower==0.1.0
|
griddypower==0.1.0
|
||||||
|
@ -8,7 +8,7 @@ from tests.async_mock import patch
|
|||||||
from tests.common import MockConfigEntry
|
from tests.common import MockConfigEntry
|
||||||
|
|
||||||
|
|
||||||
async def test_setup_simple(hass):
|
async def test_setup_simple(hass, discovery, device):
|
||||||
"""Test gree integration is setup."""
|
"""Test gree integration is setup."""
|
||||||
await async_setup_component(hass, GREE_DOMAIN, {})
|
await async_setup_component(hass, GREE_DOMAIN, {})
|
||||||
await hass.async_block_till_done()
|
await hass.async_block_till_done()
|
||||||
@ -17,7 +17,7 @@ async def test_setup_simple(hass):
|
|||||||
assert len(hass.config_entries.flow.async_progress()) == 0
|
assert len(hass.config_entries.flow.async_progress()) == 0
|
||||||
|
|
||||||
|
|
||||||
async def test_unload_config_entry(hass):
|
async def test_unload_config_entry(hass, discovery, device):
|
||||||
"""Test that the async_unload_entry works."""
|
"""Test that the async_unload_entry works."""
|
||||||
# As we have currently no configuration, we just to pass the domain here.
|
# As we have currently no configuration, we just to pass the domain here.
|
||||||
entry = MockConfigEntry(domain=GREE_DOMAIN)
|
entry = MockConfigEntry(domain=GREE_DOMAIN)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user