From 672d5fda817658618eff348367b1f867a948bdd4 Mon Sep 17 00:00:00 2001 From: Simone Chemelli Date: Sun, 26 May 2024 09:10:38 +0900 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1b2d86b7..6420b799 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ from midealocal.discover import discover discover() # If you know the ip address discover(ip_address="203.0.113.11") -# The device type is in hexadecimal and in midealocal/devices/TYPE +# The device type is in hexadecimal as in midealocal/devices/TYPE type_code = hex(list(discover().values())[0]['type'])[2:] ```