Group.set_visibility service and browser behaviour in HA 0.87.1

Good Morning,

I want to know if someone has experienced the same behaviour with this service.

I have an automation configured so as to show or hide some sensors on alarm disarm.

My customize.yaml

group.motion_1:
  visible: false
group.motion_2:
  visible: false
group.doors_1:
  visible: false
group.doors_2:
  visible: false

My configuration.yaml is:

alarm_control_panel:
  - platform: manual
    name: Home Alarm
    code: 1234
    pending_time: 3
    delay_time: 20
    trigger_time: 4
    disarmed:
      trigger_time: 0
    armed_home:
      pending_time: 0
      delay_time: 0

and automations.yaml (the automation which shows the groups, the opposite is similar but with disarm trigger and visible: false):

- alias: Enable sensors visibility
  initial_state: True
  trigger:
    - platform: state
      entity_id: alarm_control_panel.home_alarm
      to: "armed_home"
    - platform: state
      entity_id: alarm_control_panel.home_alarm
      to: "armed_away"
  action:
    - service: group.set_visibility
      entity_id: group.motion_1
      data:
        visible: true
    - service: group.set_visibility
      entity_id: group.motion_2
      data:
        visible: true
    - service: group.set_visibility
      entity_id: group.doors_1
      data:
        visible: true
    - service: group.set_visibility
      entity_id: group.doors_2
      data:
        visible: true
    - service: group.set_visibility
      entity_id: group.camera_ethernet
      data:
        visible: true

The automation works correctly, but with HA 0.80, when the automation triggered, the groups appeared or dissapeared automatically without refresh the web browser.

Now, with version 0.87.1, I have to refresh with F5 my browser so as to watch different groups appear or dissapear, and that is very annoying.

I have tested with Firefox 65.0 and Chrome 72.0.3626.109, and the behaviour is the same.

Thanks in advance…

What you are seeing in v0.87.1 are Lovelace cards not groups. Unless you are still using the old states frontend?

These cards were created for you from your groups automatically when you upgraded.

You can replace these cards with conditional cards.

@tom_l Thanks a lot. I havent noticed tha lovelace UI was active, and obviously I have to define again the conditions.

Now I have set up the old UI and it works¡¡¡

Regards,