Skip to content

Commit

Permalink
Reorder imports to satisfy ruff
Browse files Browse the repository at this point in the history
It seems to expect all-caps to come before mixed case imports.
  • Loading branch information
make-all committed Jun 15, 2024
1 parent 59e4815 commit 844637f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/devices/test_digoo_dgsp01_dual_nightlight_switch.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
"""Tests for the switch entity."""

from homeassistant.components.light import (
EFFECT_OFF,
ColorMode,
LightEntityFeature,
EFFECT_OFF,
)
from homeassistant.components.switch import SwitchDeviceClass

Expand Down
2 changes: 1 addition & 1 deletion tests/devices/test_moes_rgb_socket.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
"""Tests for the MoesHouse RGB smart socket."""

from homeassistant.components.light import (
EFFECT_OFF,
ColorMode,
LightEntityFeature,
EFFECT_OFF,
)
from homeassistant.components.sensor import SensorDeviceClass
from homeassistant.components.switch import SwitchDeviceClass
Expand Down
2 changes: 1 addition & 1 deletion tests/devices/test_rgbcw_lightbulb.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from homeassistant.components.light import (
EFFECT_OFF,
ColorMode,
LightEntityFeature,
EFFECT_OFF,
)
from homeassistant.const import UnitOfTime

Expand Down

0 comments on commit 844637f

Please sign in to comment.