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