From 33ad17f99c5f7f1f8301ae6483177e9ec23bd6ab Mon Sep 17 00:00:00 2001 From: Tijs-B Date: Tue, 22 Dec 2020 20:45:32 +0100 Subject: [PATCH] Fix example code indentation in READMY.rst (#18) --- README.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 0f6100e..e63a0cc 100644 --- a/README.rst +++ b/README.rst @@ -74,7 +74,7 @@ Subscribe to state changes of an ESPHome device. await cli.connect(login=True) - def change_callback(state): + def change_callback(state): """Print the state changes of the device..""" print(state) @@ -85,7 +85,7 @@ Subscribe to state changes of an ESPHome device. try: asyncio.ensure_future(main()) loop.run_forever() - except KeyboardInterrupt: + except KeyboardInterrupt: pass finally: loop.close()