Sort imports according to PEP8 for components starting with "B" (#29762)
This commit is contained in:
1 parent
df74272ba6
commit
73de69896b
23 files changed
+59
-61
No files matched your search
@@ -1,8 +1,8 @@
|
||||
"""The test for the bayesian sensor platform."""
|
||||
import unittest
|
||||
|
||||
from homeassistant.setup import setup_component
|
||||
from homeassistant.components.bayesian import binary_sensor as bayesian
|
||||
from homeassistant.setup import setup_component
|
||||
|
||||
from tests.common import get_test_home_assistant
|
||||
|
||||
|
||||
@@ -1,24 +1,25 @@
|
||||
"""The tests for the Monoprice Blackbird media player platform."""
|
||||
from collections import defaultdict
|
||||
import unittest
|
||||
from unittest import mock
|
||||
|
||||
import pytest
|
||||
import voluptuous as vol
|
||||
|
||||
from collections import defaultdict
|
||||
from homeassistant.components.media_player.const import (
|
||||
SUPPORT_TURN_ON,
|
||||
SUPPORT_TURN_OFF,
|
||||
SUPPORT_SELECT_SOURCE,
|
||||
)
|
||||
from homeassistant.const import STATE_ON, STATE_OFF
|
||||
|
||||
import tests.common
|
||||
from homeassistant.components.blackbird.const import DOMAIN, SERVICE_SETALLZONES
|
||||
from homeassistant.components.blackbird.media_player import (
|
||||
DATA_BLACKBIRD,
|
||||
PLATFORM_SCHEMA,
|
||||
setup_platform,
|
||||
)
|
||||
from homeassistant.components.blackbird.const import DOMAIN, SERVICE_SETALLZONES
|
||||
import pytest
|
||||
from homeassistant.components.media_player.const import (
|
||||
SUPPORT_SELECT_SOURCE,
|
||||
SUPPORT_TURN_OFF,
|
||||
SUPPORT_TURN_ON,
|
||||
)
|
||||
from homeassistant.const import STATE_OFF, STATE_ON
|
||||
|
||||
import tests.common
|
||||
|
||||
|
||||
class AttrDict(dict):
|
||||
|
||||
@@ -10,6 +10,7 @@ import requests
|
||||
from homeassistant.components import sensor
|
||||
from homeassistant.components.bom.sensor import BOMCurrentData
|
||||
from homeassistant.setup import setup_component
|
||||
|
||||
from tests.common import assert_setup_component, get_test_home_assistant, load_fixture
|
||||
|
||||
VALID_CONFIG = {
|
||||
|
||||
Reference in new issue
Block a user