Allow for full templating support in Group.set

we can template in the group.set_visibility as follows:

 action:
    - service: group.set_visibility
      entity_id:
        - group.developer_links
        - group.developer
      data_template:
        visible: "{{is_state('input_select.mode', 'Developer')}}"

We cant however do the same for the View of a group using the service group.set.

dev tools:

{“object_id”:“developer”,
“view”:"{{is_state(‘input_select.mode’, ‘Developer’)}}", “visible”:"{{is_state(‘input_select.mode’, ‘Developer’)}}" }

or script/automation:

 action:
    - service: group.set
      object_id:
        - group.developer
      data_template:
        visible: "{{is_state('input_select.mode', 'Developer')}}"
        view: "{{is_state('input_select.mode', 'Developer')}}"

renders an error of invalid boolean.
Template is fine:

This is a request for full True and False support to set Group View to either False or True, by means of a Template:

{
“object_id”:“developer”,
“view”:"{{is_state(‘input_select.mode’, ‘Developer’)}}",
“visible”:"{{is_state(‘input_select.mode’, ‘Developer’)}}"
}