1
0
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:
epenet
2026-04-01 12:58:18 +00:00
parent 2ce3cfea5a
commit 909535d124

View File

@@ -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,