Replace custom deviceconfig serialization with mashumaru (#1274)

This commit is contained in:
Steven B.
2024-11-20 08:35:32 +00:00
committed by GitHub
parent bf23f73cce
commit 79ac9547e8
6 changed files with 163 additions and 94 deletions

View File

@@ -0,0 +1,10 @@
{
"host": "127.0.0.1",
"timeout": 5,
"connection_type": {
"device_family": "SMART.IPCAMERA",
"encryption_type": "AES",
"https": true
},
"uses_http": false
}

View File

@@ -0,0 +1,11 @@
{
"host": "127.0.0.1",
"timeout": 5,
"connection_type": {
"device_family": "SMART.TAPOPLUG",
"encryption_type": "KLAP",
"https": false,
"login_version": 2
},
"uses_http": false
}

View File

@@ -0,0 +1,10 @@
{
"host": "127.0.0.1",
"timeout": 5,
"connection_type": {
"device_family": "IOT.SMARTPLUGSWITCH",
"encryption_type": "XOR",
"https": false
},
"uses_http": false
}