Alarm Tile Card Popup Keypad

Keypad does not pop-up when i try to arm alarm from alarm panel opened in browser mod pop-up window. if i put alarm card directly on dashboard, it works.
Alarm Card In Pop-up (doesnt work)

type: custom:mushroom-template-card
icon: mdi:shield
tap_action:
  action: call-service
  service: browser_mod.popup
  data:
    content:
      type: tile
      entity: alarm_control_panel.home_alarm
      features:
        - type: alarm-modes
          modes:
            - armed_away
            - armed_vacation
            - disarmed

Alarm card on dashboard (works)

type: tile
entity: alarm_control_panel.home_alarm
features:
  - type: alarm-modes
    modes:
      - armed_away
      - armed_vacation
      - disarmed

Like this?

type: custom:mushroom-template-card
icon: mdi:shield
tap_action:
  action: fire-dom-event
  browser_mod:
    service: browser_mod.popup
    data:
      content: 
       type: tile
       entity: alarm_control_panel.ha_alarm
       features:
        - type: alarm-modes
          modes:
            - armed_away
            - armed_vacation
            - disarmed

Yes. But when i press to arm, keypad for entering code doesnt appear

Does it work when you remove the features?

type: custom:mushroom-template-card
icon: mdi:shield
tap_action:
  action: fire-dom-event
  browser_mod:
    service: browser_mod.popup
    data:
      content:
        type: tile
        entity: alarm_control_panel.home_alarm

Yes it works. But there is no point in using it. As i want only 3 alarm modes.


Why it doesnt work with browser mod popup

Try the mushroom version

type: custom:mushroom-template-card
icon: mdi:shield
tap_action:
  action: fire-dom-event
  browser_mod:
    service: browser_mod.popup
    data:
      content:
        type: custom:mushroom-alarm-control-panel-card
        entity: alarm_control_panel.home_alarm
        states:
          - armed_home
          - armed_vacation
          - disarmed
        show_keypad: true

in mushroom card, there no provision for popup keypad for code. its stationary.

Maybe I am confused, but I get the keypad popup

Keypad should only popup when i press arm or disarm button.

How did you assess that intended outcome? The Mushroom Card with keypad enabled shows the keypad. I think you are pointing to a feature request with the 3rd party integration.

The keypad is requesting the code prior to pressing Armed or Disarmed. I’d suggest a pull request via Github.

https://github.com/piitaya/lovelace-mushroom/pulls

I have found the corresponding code ts file in the home assistant GitHub repo. But I cannot get the popup to show.

You can find the code:

I will try to make a custom card from this but this will take some time