mirror of
https://github.com/home-assistant/core.git
synced 2025-07-31 19:25:12 +02:00
Cleanup mqtt PLATFORMS constant and CI-test platform filters (#112847)
This commit is contained in:
@@ -17,7 +17,6 @@ from homeassistant.const import (
|
||||
STATE_OFF,
|
||||
STATE_ON,
|
||||
STATE_UNKNOWN,
|
||||
Platform,
|
||||
)
|
||||
from homeassistant.core import HomeAssistant
|
||||
|
||||
@@ -60,13 +59,6 @@ DEFAULT_CONFIG = {
|
||||
}
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def siren_platform_only():
|
||||
"""Only setup the siren platform to speed up tests."""
|
||||
with patch("homeassistant.components.mqtt.PLATFORMS", [Platform.SIREN]):
|
||||
yield
|
||||
|
||||
|
||||
async def async_turn_on(
|
||||
hass: HomeAssistant,
|
||||
entity_id: str = ENTITY_MATCH_ALL,
|
||||
|
Reference in New Issue
Block a user