Closed depili closed 4 years ago
On further testing this seems to only affect the buttons created from the templates, not ones created manually.
So are my presets faulty or is there something wrong with companion saving them?
And apparently manually adding a button with a command from the clock-8001 module and both instance feedback options and then dragging the preset buttons gets companion to save all settings successfully.
You need to open a issue in the main companion repository, this is nothing that I can fix. The maintainers just moved the ticket into the module issues instead of companion.
A work-around that seems to work is to manually create a button with an action from all used modules in addition to buttons from presets and then companion saves the buttons correctly.
Also be aware that restarting the computer without closing companion first doesn't save the button states
I can transfer it back to the core repo.
Still an issue? (on latest builds)
@depili still a bug for you?
As far as I am aware this isn't happening on the 2.0 branch, haven't touched the legacy branch for a while
Describe the bug For some reason unknown to me the buttons for my module depili-clock-8001 break on companion restart. The button text and default colors stay, but the actions and color feedback goes away. Feedback variables work.
To Reproduce
This is what gets saved to ~/companion/db:
(reformatted the json for readibility). Note no actions saved.
Expected behavior I expect that the actions would be saved to disk.
Screenshots
Desktop (please complete the following information):
Additional context Using headless.js