rootnegativ1 / unifi-wifi

Home Assistant integration to change wireless passwords on UniFi Network controllers
MIT License
3 stars 0 forks source link

Change re-provisioning logic #18

Closed rootnegativ1 closed 6 months ago

rootnegativ1 commented 6 months ago

Some service calls (i.e. unifi_wifi.enable_lan) need to force a re-provisioning of access points for changes to be fully applied. Before, the YAML config needed to include force_provision: true. The immediate downside is even simple password changes would cause a re-provision to occur. This PR allows individual service calls the ability to force a re-provision while allowing the user to maintain force_provision: false in YAML. This option is not accessible through the UI, only in services.py

rootnegativ1 commented 6 months ago

moved some debug messaging to out of EXTRA_DEBUG