-
-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable defunct WLAN schedule not found
#263
Comments
The WLAN schedule support dates back to v5 of the controller so not surprising that they have introduced some new UI features and API types now, it probably needs to be updated to use that new API field you noticed. I'll see about poking around with this over the weekend and see what I can find. |
#284 has an initial implementation. The tests seem to work and it handles deletions as well (I added a test for that). It is breaking unfortunately to support the new API field format so just thinking about it a bit more prior to merging it. |
Hi Paul. Thanks for your support! I can confirm the change set the schedule of the wlan and after a refresh of the page I find the |
Hmm ok let me investigate further, I'll reopen this for now. |
Hi,
during importing my current config into terraform I played around with the WLAN schedule function since one of my networks has a schedule to be disabled in the night.
The enabling of the schedule in terraform was no problem
but it didn't activate in the UI.
And if I add a schedule to the temp WLAN in the UnifiController then terraform does not recognize the resource has changed in any way.
Thus I removed the schedule from the temp WLAN but now I get
So it seems I can't remove the schedule anymore.
Another thing I noticed looking at the API requests that there are two different fields
schedule
andschedule_with_duration
. Theschedule
has the terraform values but does not work and theschedule_with_duration
has the values set in the Controller and work but are not available in terraform. It seems, there is a field and type missmatch in the library.As controller I use the docker container from
jacobalberty/unifi
in version7.1.66
.Hope you can help to sort this one out
The text was updated successfully, but these errors were encountered: