Skip to content

Commit

Permalink
Add new methods
Browse files Browse the repository at this point in the history
  • Loading branch information
cyr-ius committed Dec 14, 2024
1 parent 2fdc049 commit 185bb04
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
19 changes: 16 additions & 3 deletions custom_components/bbox/diagnostics.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,26 @@ async def diag(func: Callable[..., Any], *args: Any) -> None:

_datas.update({func.__name__: rslt})

await diag(coordinator.bbox.device.async_get_bbox_summary)
await diag(coordinator.bbox.device.async_get_bbox_info)
await diag(coordinator.bbox.lan.async_get_connected_devices)
await diag(coordinator.bbox.wan.async_get_wan_ip)
await diag(coordinator.bbox.ddns.async_get_ddns)
await diag(coordinator.bbox.iptv.async_get_iptv_info)
await diag(coordinator.bbox.lan.async_get_connected_devices)
await diag(coordinator.bbox.lan.async_get_device_infos)
await diag(coordinator.bbox.lan.async_get_lan_stats)
await diag(
coordinator.bbox.parentalcontrol.async_get_parental_control_service_state
)
await diag(coordinator.bbox.services.async_get_bbox_services)
await diag(coordinator.bbox.voip.async_get_voip_voicemail)
await diag(coordinator.bbox.lan.async_get_device_infos)
await diag(coordinator.bbox.wifi.async_get_wireless)
await diag(coordinator.bbox.wifi.async_get_stats_5)
await diag(coordinator.bbox.wifi.async_get_stats_24)
await diag(coordinator.bbox.wifi.async_get_wps)
await diag(coordinator.bbox.wifi.async_get_repeater)
await diag(coordinator.bbox.wan.async_get_wan_ip)
await diag(coordinator.bbox.wan.async_get_wan_ftth)
await diag(coordinator.bbox.wan.async_get_wan_ip_stats)

return {
"entry": {
Expand Down
4 changes: 2 additions & 2 deletions custom_components/bbox/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"iot_class": "local_polling",
"issue_tracker": "https://github.com/cyr-ius/hass-bbox2/issues",
"loggers": ["bboxpy"],
"requirements": ["bboxpy==1.3.1"],
"requirements": ["bboxpy==1.3.2"],
"ssdp": [],
"version": "1.4.0",
"version": "1.4.1",
"zeroconf": []
}

0 comments on commit 185bb04

Please sign in to comment.