Sort imports according to PEP8 for components starting with "P" (#29775)
This commit is contained in:
1 parent
5cdaff5405
commit
21816eeed4
25 files changed
+73
-78
No files matched your search
@@ -1,23 +1,23 @@
|
||||
"""Unit tests for platform/plant.py."""
|
||||
import asyncio
|
||||
import unittest
|
||||
import pytest
|
||||
from datetime import datetime, timedelta
|
||||
import unittest
|
||||
|
||||
import pytest
|
||||
|
||||
from homeassistant.const import (
|
||||
ATTR_UNIT_OF_MEASUREMENT,
|
||||
STATE_UNAVAILABLE,
|
||||
STATE_UNKNOWN,
|
||||
STATE_PROBLEM,
|
||||
STATE_OK,
|
||||
)
|
||||
from homeassistant.components import recorder
|
||||
import homeassistant.components.plant as plant
|
||||
from homeassistant.const import (
|
||||
ATTR_UNIT_OF_MEASUREMENT,
|
||||
STATE_OK,
|
||||
STATE_PROBLEM,
|
||||
STATE_UNAVAILABLE,
|
||||
STATE_UNKNOWN,
|
||||
)
|
||||
from homeassistant.setup import setup_component
|
||||
|
||||
from tests.common import get_test_home_assistant, init_recorder_component
|
||||
|
||||
|
||||
GOOD_DATA = {
|
||||
"moisture": 50,
|
||||
"battery": 90,
|
||||
|
||||
Reference in new issue
Block a user