mirror of
https://github.com/home-assistant/core.git
synced 2026-04-02 00:20:30 +01:00
Revert climate
This commit is contained in:
@@ -43,7 +43,13 @@ from . import initialize_entry
|
||||
from tests.common import MockConfigEntry, snapshot_platform
|
||||
|
||||
|
||||
@patch("homeassistant.components.tuya.PLATFORMS", [Platform.CLIMATE])
|
||||
@pytest.fixture(autouse=True)
|
||||
def platform_autouse():
|
||||
"""Platform fixture."""
|
||||
with patch("homeassistant.components.tuya.PLATFORMS", [Platform.CLIMATE]):
|
||||
yield
|
||||
|
||||
|
||||
async def test_platform_setup_and_discovery(
|
||||
hass: HomeAssistant,
|
||||
mock_manager: Manager,
|
||||
@@ -58,7 +64,6 @@ async def test_platform_setup_and_discovery(
|
||||
await snapshot_platform(hass, entity_registry, snapshot, mock_config_entry.entry_id)
|
||||
|
||||
|
||||
@patch("homeassistant.components.tuya.PLATFORMS", [Platform.CLIMATE])
|
||||
async def test_us_customary_system(
|
||||
hass: HomeAssistant,
|
||||
mock_manager: Manager,
|
||||
|
||||
Reference in New Issue
Block a user