Cameron Ring

Results 111 comments of Cameron Ring

@powerman There's now a `restore_error_handler` config option. if you set it to a function that always returns true, it won't disable auto-save if there's an error loading the session. For...

@llakala That code does look wrong. I want to add a unit test for this case so don't need a PR.

@llakala fixed in my fork, if you want to test it

@rmagatti I'd like to make it easier to store custom data as part of a session. Currently, we have `save_extra_cmds` but it's cumbersome if you're not just calling functions. You...

Here's a slightly improved version of the linked code (use buffer names instead of ids) implemented using the above api: ```lua save_extra_data = function(_) local ok, breakpoints = pcall(require, 'dap.breakpoints')...

These changes are now in main and there's [a recipe in the readme](https://github.com/rmagatti/auto-session#%EF%B8%8F-saving-custom-data) so I'm to close this as completed.

This is what the option looks like ![Screenshot 2024-09-17 at 16 25 15](https://github.com/user-attachments/assets/a5085e7e-eaa9-481a-96a9-cc27e1cfcd8b)

The underlying library has a limitation where it has to have a level to turn on a light. Normally, the integration keeps track of the last level and uses that...

Interesting, I didn't know about that feature. I tested it out and, unfortunately, it doesn't do was requested in the original ticket (and what I want). Setting `group.all_lights.default` will set...

That's helpful. I'm not trying to change any model of how the switches/HA work. I just find it really jarring when the lights are set to 50% if i use...