Skip to content

Commit

Permalink
Fix linting issues identified by Pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
oldcorvus committed Dec 3, 2023
1 parent 9d31cc4 commit c28f911
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/example_fan_step_mode.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
"""Example for Fan device."""
import asyncio
from xknx import XKNX
from xknx.devices import Fan, FanSpeedMode
from xknx.devices import Fan


async def main():
"""Connect to KNX/IP bus, control a fan, and turn it off afterwards."""
Expand All @@ -12,8 +13,8 @@ async def main():
xknx,
name="TestFan",
group_address_switch="1/0/12",
group_address_speed="1/0/14",
max_step=3,
group_address_speed="1/0/14",
max_step=3,
)

# Turn on the fan
Expand All @@ -30,4 +31,3 @@ async def main():
await xknx.stop()

asyncio.run(main())

0 comments on commit c28f911

Please sign in to comment.