Unable to turn on "Off Refresh" while also using Swap #3561
Labels
bug
confirmed
The bug is reproducable and confirmed
fixed in source
This issue is unsolved in the latest release but fixed in master
What happened?
When you check the box for Off Refresh, if you have a Swap set, it is set to None after saving.
To Reproduce Bug
Setup led where a swap is required. My instance was SK6812 RGBW, Color order BRG with a swap of W and G
![image](https://private-user-images.githubusercontent.com/64097696/287360619-92b50667-ea82-427b-9547-a0ad64932902.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUyMjA2MzMsIm5iZiI6MTcyNTIyMDMzMywicGF0aCI6Ii82NDA5NzY5Ni8yODczNjA2MTktOTJiNTA2NjctZWE4Mi00MjdiLTk1NDctYTBhZDY0OTMyOTAyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTAxVDE5NTIxM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZhYWM5MjMzZWQyYjg5YzliMzc3ZjliMDVhNGU0ZDE1Y2EzNzYzOGFiMTk2YjE4NGVjMTA2YWI2NjdhNGViMmYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.heC84meyNHIFXRJNY4y6GOF17SUjbgD5t8fspLNC6lo)
Check Off Refresh and hit save.
![image](https://private-user-images.githubusercontent.com/64097696/287360855-b73ccfe7-8b8a-44b9-afec-873aa70428fa.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUyMjA2MzMsIm5iZiI6MTcyNTIyMDMzMywicGF0aCI6Ii82NDA5NzY5Ni8yODczNjA4NTUtYjczY2NmZTctOGI4YS00NGI5LWFmZWMtODczYWE3MDQyOGZhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTAxVDE5NTIxM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJkMThkZTNmODM4NzgzMjRlN2NjNGI0YzAwMjEwYmYwMDBmOGQ4ZDg4ZmJjZDZmYzZlY2IwZDRkYjQwYWRmYTkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.8EWh8baHTakqLHXVtlWMJfN7NUggbxgF1_XVtXRRmC0)
Go back to the led config page and swap will be none.
The only way I could get swap to save again was to remove check from Off Refresh.
Expected Behavior
When saving the led configs setup with swap set and Off Refresh set I expect them to both be saved that way unless this functionality doesn't work together, if that is the case maybe a message.
Install Method
Binary from WLED.me
What version of WLED?
WLED 0.14.0 (build 2310130)
Which microcontroller/board are you seeing the problem on?
ESP8266
Relevant log/trace output
No response
Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: