Skip to content

Commit

Permalink
Bump webmin-xmlrpc to 0.0.2 (#113004)
Browse files Browse the repository at this point in the history
  • Loading branch information
autinerd committed Mar 11, 2024
1 parent 3b0b729 commit c60aed3
Show file tree
Hide file tree
Showing 6 changed files with 262 additions and 103 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/webmin/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
"integration_type": "device",
"iot_class": "local_polling",
"loggers": ["webmin"],
"requirements": ["webmin-xmlrpc==0.0.1"]
"requirements": ["webmin-xmlrpc==0.0.2"]
}
2 changes: 1 addition & 1 deletion requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2836,7 +2836,7 @@ waterfurnace==1.1.0
weatherflow4py==0.1.14

# homeassistant.components.webmin
webmin-xmlrpc==0.0.1
webmin-xmlrpc==0.0.2

# homeassistant.components.assist_pipeline
webrtc-noise-gain==1.2.3
Expand Down
2 changes: 1 addition & 1 deletion requirements_test_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2177,7 +2177,7 @@ watchdog==2.3.1
weatherflow4py==0.1.14

# homeassistant.components.webmin
webmin-xmlrpc==0.0.1
webmin-xmlrpc==0.0.2

# homeassistant.components.assist_pipeline
webrtc-noise-gain==1.2.3
Expand Down
160 changes: 99 additions & 61 deletions tests/components/webmin/fixtures/webmin_update.json
Original file line number Diff line number Diff line change
@@ -1,97 +1,135 @@
{
"load_1m": 0.98,
"load_5m": 1.02,
"load_15m": 1.0,
"mem_total": 32767008,
"mem_free": 26162544,
"swap_total": 1953088,
"swap_free": 1953088,
"total_space": 18104905818112,
"free_space": 8641328926720,
"fs": [
"disk_total": 18104905818112,
"io": [0, 4],
"load": [
1.29,
1.36,
1.37,
3589,
"Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz",
"GenuineIntel",
15728640,
12
],
"disk_free": 7749321486336,
"kernel": { "os": "Linux", "arch": "x86_64", "version": "6.6.18-1-lts" },
"disk_fs": [
{
"free": 174511820800,
"dir": "/",
"iused": 391146,
"used": 61225123840,
"type": "ext4",
"device": "UUID=00000000-80b6-0000-8a06-000000000000",
"iused_percent": 3,
"used_percent": 26,
"dir": "/",
"ifree": 14927206,
"total": 248431161344,
"used_percent": 80,
"type": "ext4",
"itotal": 15482880,
"ifree": 15091734
"iused": 555674,
"free": 49060442112,
"used": 186676502528,
"iused_percent": 4
},
{
"iused": 8877,
"used": 4608079593472,
"total": 11903838912512,
"used_percent": 38,
"iused": 3542318,
"type": "ext4",
"dir": "/media/disk1",
"free": 1044483624960,
"used_percent": 82,
"ifree": 183131475,
"itotal": 183140352,
"total": 5952635744256,
"device": "UUID=00000000-2bb2-0000-896c-000000000000",
"iused_percent": 1
"itotal": 366198784,
"device": "/dev/md127",
"ifree": 362656466,
"dir": "/media/disk2",
"iused_percent": 1,
"free": 7028764823552,
"used": 4275077644288
},
{
"used": 3881508986880,
"dir": "/media/disk1",
"ifree": 183130757,
"device": "UUID=00000000-2bb2-0000-896c-000000000000",
"type": "ext4",
"iused": 3411401,
"dir": "/media/disk2",
"free": 7422333480960,
"used_percent": 35,
"total": 11903838912512,
"itotal": 366198784,
"ifree": 362787383,
"device": "/dev/md127",
"itotal": 183140352,
"iused": 9595,
"used_percent": 89,
"total": 5952635744256,
"used": 4981066997760,
"free": 671496220672,
"iused_percent": 1
}
],
"used_space": 8550813704192,
"uptime": { "days": 3, "minutes": 23, "seconds": 12 },
"drivetemps": [
{ "temp": 49, "device": "/dev/sda", "failed": "", "errors": "" },
{ "failed": "", "errors": "", "device": "/dev/sdb", "temp": 49 },
{ "device": "/dev/sdc", "temp": 51, "failed": "", "errors": "" },
{ "failed": "", "errors": "", "device": "/dev/sdd", "temp": 51 },
{ "errors": "", "failed": "", "temp": 43, "device": "/dev/sde" },
{ "device": "/dev/sdf", "temp": 40, "errors": "", "failed": "" }
],
"mem": [32766344, 28530480, 1953088, 1944384, 27845756, ""],
"disk_used": 9442821144576,
"cputemps": [
{ "temp": 51, "core": 0 },
{ "temp": 49, "core": 1 },
{ "core": 2, "temp": 59 },
{ "temp": 51, "core": 3 },
{ "temp": 50, "core": 4 },
{ "temp": 49, "core": 5 }
],
"procs": 310,
"cpu": [0, 8, 92, 0, 0],
"cpufans": [
{ "rpm": 0, "fan": 1 },
{ "fan": 2, "rpm": 1371 },
{ "rpm": 0, "fan": 3 },
{ "rpm": 927, "fan": 4 },
{ "rpm": 801, "fan": 5 }
],
"load_1m": 1.29,
"load_5m": 1.36,
"load_15m": 1.37,
"mem_total": 32766344,
"mem_free": 28530480,
"swap_total": 1953088,
"swap_free": 1944384,
"uptime": { "days": 11, "minutes": 1, "seconds": 28 },
"active_interfaces": [
{
"fullname": "lo",
"scope6": ["host"],
"address": "127.0.0.1",
"address6": ["::1"],
"name": "lo",
"broadcast": 0,
"up": 1,
"index": 0,
"scope6": ["host"],
"netmask": "255.0.0.0",
"fullname": "lo",
"netmask6": [128],
"edit": 1,
"broadcast": 0,
"netmask": "255.0.0.0",
"mtu": 65536,
"name": "lo",
"address": "127.0.0.1",
"address6": ["::1"]
"edit": 1
},
{
"mtu": 1500,
"fullname": "enp6s0",
"scope6": [],
"address6": [],
"name": "enp6s0",
"up": 1,
"index": 1,
"ether": "12:34:56:78:9a:bc",
"address6": [],
"netmask6": [],
"fullname": "enp6s0",
"mtu": 1500,
"edit": 1,
"scope6": [],
"name": "enp6s0"
"ether": "12:34:56:78:9a:bc"
},
{
"ether": "12:34:56:78:9a:bd",
"edit": 1,
"netmask6": [64],
"netmask": "255.255.255.0",
"scope6": ["link"],
"up": 1,
"index": 2,
"netmask6": [64],
"fullname": "eno1",
"address6": ["fe80::2:3:4"],
"address": "192.168.1.4",
"name": "eno1",
"mtu": 1500,
"index": 2,
"broadcast": "192.168.1.255",
"ether": "12:34:56:78:9a:bd"
"up": 1,
"address6": ["fe80::2:3:4"],
"scope6": ["link"],
"name": "eno1",
"address": "192.168.1.4"
}
]
}

0 comments on commit c60aed3

Please sign in to comment.