Send empty dictionary instead of null for iot queries (#1145)

This commit is contained in:
Steven B.
2024-10-01 12:47:36 +01:00
committed by GitHub
parent db80c383a9
commit 81e2685605
5 changed files with 8 additions and 7 deletions

View File

@@ -32,8 +32,8 @@ from .xortransport import XorTransport
_LOGGER = logging.getLogger(__name__)
GET_SYSINFO_QUERY = {
"system": {"get_sysinfo": None},
GET_SYSINFO_QUERY: dict[str, dict[str, dict]] = {
"system": {"get_sysinfo": {}},
}