Group visibility

I want to set up a group which will show up only then the receiver is on.
At HA start i set the visibility to off.

For the receiver i set the rule

- alias: Visibility Onkyo Group On
  trigger:
    platform: state
    entity_id: media_player.onkyo
    to: "on"
  action:
  - service: group.set_visibility
    entity_id: group.onkyo_night_controls
    data:
      visible: true

Rule seem working - but the group can only be seen if i reload the groups. Might it be because of setting the group visibility during HA startup to false?

default_view:
  name: Home
  view: yes
  icon: mdi:home
  entities:
    - group.onkyo_night_controls

Try using True instead of true, this is my hide automation

automation hide_binary_sensor_basement_bedrooms_windows:
  trigger:
    - platform: event
      event_type: homeassistant_start
    - platform: state
      entity_id: binary_sensor.basement_bedrooms_windows
      to: 'off'
  action:
    service: group.set_visibility
    entity_id: group.basement_bedrooms_windows_alert
    data:
      visible: False