mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Remove all empty *_setup_platform() from integrations (#31025)
* Remove all empty *_setup_platform() from integrations * Fix tests for smartthings * Fix tests for heos
This commit is contained in:
@@ -16,7 +16,6 @@ from homeassistant.components.fan import (
|
||||
SPEED_OFF,
|
||||
SUPPORT_SET_SPEED,
|
||||
)
|
||||
from homeassistant.components.smartthings import fan
|
||||
from homeassistant.components.smartthings.const import DOMAIN, SIGNAL_SMARTTHINGS_UPDATE
|
||||
from homeassistant.const import ATTR_ENTITY_ID, ATTR_SUPPORTED_FEATURES
|
||||
from homeassistant.helpers.dispatcher import async_dispatcher_send
|
||||
@@ -24,11 +23,6 @@ from homeassistant.helpers.dispatcher import async_dispatcher_send
|
||||
from .conftest import setup_platform
|
||||
|
||||
|
||||
async def test_async_setup_platform():
|
||||
"""Test setup platform does nothing (it uses config entries)."""
|
||||
await fan.async_setup_platform(None, None, None)
|
||||
|
||||
|
||||
async def test_entity_state(hass, device_factory):
|
||||
"""Tests the state attributes properly match the fan types."""
|
||||
device = device_factory(
|
||||
|
||||
Reference in New Issue
Block a user