Setting Simple Sitemap Values Programmatically not reflected in form I'm trying to set some Simple Sitemap settings programmatically. I'm using the following to set whether or not a specific node is indexed:

\Drupal::service('simple_sitemap.generator')-&gt;setEntityInstanceSettings('node', $node-&gt;get('nid')-&gt;value, ['index' =&gt; FALSE]);

This works fine and I was able to see the results reflected in my sitemap. However, this is only reflected in the "Simple Sitemap" form of that node if the value is set to TRUE. If FALSE neither radio button is selected. 

This is confusing to others who are editing the site. How can I get this reflected in the form?
I figured this out, but in case anyone else runs into this. The documentation in the readme.md file shows the following format the settings:

setBundleSettings('node', 'page', ['index' =&gt; TRUE, 'priority' = 0.5])

Instead of using TRUE/FALSE I changed the index setting to 0/1 and this was successfully reflected in the form as expected. 

\Drupal::service('simple_sitemap.generator')-&gt;setEntityInstanceSettings('node', $node-&gt;get('nid')-&gt;value, ['index' =&gt; 0]);