How can I set a default value for a toggle

I had some success with

https://www.algolia.com/doc/tutorials/search-ui/instant-search/filtering/add-default-filters/instantsearchjs/

However that only worked with refinementList widget and hid all the other options. I wasn’t able to make it work with toggle widget.

I am looking to initialize a toggle to be true on first load.