From cebb81df31971ecd663242bcfadf7895e538aebb Mon Sep 17 00:00:00 2001 From: oldcorvus Date: Sun, 3 Dec 2023 09:11:41 +0330 Subject: [PATCH] Fix whitespace issues identified by Flake8 --- examples/example_fan_percent_mode.py | 9 +++++---- examples/example_fan_step_mode.py | 1 + 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/examples/example_fan_percent_mode.py b/examples/example_fan_percent_mode.py index 3ef69a2ce..0a45915cd 100644 --- a/examples/example_fan_percent_mode.py +++ b/examples/example_fan_percent_mode.py @@ -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() @@ -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 @@ -29,5 +30,5 @@ async def main(): await xknx.stop() -asyncio.run(main()) +asyncio.run(main()) diff --git a/examples/example_fan_step_mode.py b/examples/example_fan_step_mode.py index d4543859a..323426fdb 100644 --- a/examples/example_fan_step_mode.py +++ b/examples/example_fan_step_mode.py @@ -30,4 +30,5 @@ async def main(): await xknx.stop() + asyncio.run(main())