Skip to content

Commit

Permalink
Fix whitespace issues identified by Flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
oldcorvus committed Dec 3, 2023
1 parent c28f911 commit cebb81d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 5 additions & 4 deletions examples/example_fan_percent_mode.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from xknx import XKNX
from xknx.devices import Fan


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

# Turn on the fan
Expand All @@ -29,5 +30,5 @@ async def main():

await xknx.stop()

asyncio.run(main())

asyncio.run(main())
1 change: 1 addition & 0 deletions examples/example_fan_step_mode.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ async def main():

await xknx.stop()


asyncio.run(main())

0 comments on commit cebb81d

Please sign in to comment.