-
Notifications
You must be signed in to change notification settings - Fork 0
[Bug]: Config flow issues #10
Description
Integration Version
v1.2.2
OpenWrt Version
25.12.0
Connection Method
ubus (HTTP/HTTPS)
Describe the bug
After the installation of this integration, automatic discovery found my OPNsense firewall (main router) as OpenWRT:
Also, when configuring the integration, in config flow, the first step asks me to select the connection method, but no option is presented:
After I click submit, the next issue is that many routers (some of them aren't) are autodetected, via ssh from what I can see, but none of them is the real openwrt router I want to configure:
In next step I can see that ubus is the connection selected (luckily it's the default), but since ssh autodetection of the router fails to identify the correct one, I'm unable to complete the configuration:
The config flow should offer the user a "manual" option in the autodetection step, so if the router is not found or it's not discovered, one can select "manual" and input a hostname/ip.
Also, in the last configuration step, the mandatory fields/options should be highlighted in some way. For example: is the port necessary? if left empty does it default to the standard ubus port?
Looking forward to test this integration, thanks for creating it.