Tweak 2
authorBenjamin Braatz <bb@bbraatz.eu>
Mon, 15 Feb 2021 13:36:30 +0000 (14:36 +0100)
committerBenjamin Braatz <bb@bbraatz.eu>
Mon, 15 Feb 2021 13:36:30 +0000 (14:36 +0100)
schaltschrank/config.py

index ab1aa16ef207c5e8c0042ed76177a64db744f779..65d75a8873e0753b4df9faa30262ec9e9a1a7ee9 100644 (file)
@@ -81,7 +81,7 @@ async def fu_handler(queues, fu):
                 await out_queue.put({'name': 'motoran'})
             await fu.set_frequency(30)
             await fu.start_inverter()
-            await asyncio.sleep(0.2)
+            await asyncio.sleep(0.15)
             await fu.stop_inverter()
             for out_queue in queues:
                 await out_queue.put({'name': 'motoraus'})
@@ -93,7 +93,7 @@ async def fu_handler(queues, fu):
                 await out_queue.put({'name': 'motoran'})
             await fu.set_frequency(-30)
             await fu.start_inverter()
-            await asyncio.sleep(0.2)
+            await asyncio.sleep(0.15)
             await fu.stop_inverter()
             for out_queue in queues:
                 await out_queue.put({'name': 'motoraus'})