Would you please consider this PR to add methods to:
a) return the functions supported by the router as a comma seperated list
b) return info about the overall WAN status and the wan0 and wan1 connections
I am looking to enhance the asuswrt integration for Home Assistant and this will allow monitoring of the internet connection status reported by the router in either single or dual WAN mode.
I looked at the test_regex.py file but could not determine if these changes should have a test in their as they only appear to test calling router functions and not nvram values. Please let me know if this does need a test and a little pointer as to what I should be testing.
I have however run the test_regex through tox and it passed without error with this change implemented.
Hi,
Would you please consider this PR to add methods to: a) return the functions supported by the router as a comma seperated list b) return info about the overall WAN status and the wan0 and wan1 connections
I am looking to enhance the asuswrt integration for Home Assistant and this will allow monitoring of the internet connection status reported by the router in either single or dual WAN mode.
I looked at the test_regex.py file but could not determine if these changes should have a test in their as they only appear to test calling router functions and not nvram values. Please let me know if this does need a test and a little pointer as to what I should be testing.
I have however run the test_regex through tox and it passed without error with this change implemented.
I have also only tested this on an ASUS RT-AX92U.
KR Mark