diff --git a/examples/example_fan_step_mode.py b/examples/example_fan_step_mode.py index 3df535d0b..d4543859a 100644 --- a/examples/example_fan_step_mode.py +++ b/examples/example_fan_step_mode.py @@ -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.""" @@ -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 @@ -30,4 +31,3 @@ async def main(): await xknx.stop() asyncio.run(main()) -