From 54e1cee588a260ebb02f49d015275ef367c796d4 Mon Sep 17 00:00:00 2001 From: Davide Depau Date: Fri, 15 Sep 2023 00:57:47 +0200 Subject: [PATCH] Provide feedback when toggling the light --- bot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bot.py b/bot.py index a3070d3..a7cbd90 100644 --- a/bot.py +++ b/bot.py @@ -45,6 +45,7 @@ class Bot: return await resp.text() async def _send_item_command(self, command): + print(f"Sending command {command}") url = f"{self.openhab_url}/rest/items/{self.openhab_item}" async with aiohttp.ClientSession() as session: async with session.post(