Browser_mod.popup not working with custom card

I want to have a popup that displays my solar system, I currently use custom:sunsynk-power-flow-card

this is the current configuration that im using (i removed most entities as its a long list):

When i click, the popup appears but the custom card is not loaded in the popup and im not sure why, any help troubleshooting would be appreciated.

tap_action:
              action: fire-dom-event
              browser_mod:
                service: browser_mod.popup
                data:
                  title: Power Data
                  dismissable: true
                  autoclose: false
                  card:
                    type: custom:sunsynk-power-flow-card
                    cardstyle: lite
                    show_solar: true
                    inverter:
                      model: lux
                      auto_scale: false
                      modern: true
                    battery:
                      show: true
                      energy: 12800
                      shutdown_soc: 5
                      show_daily: true
                      invert_power: true
                      show_remaining_energy: true
                    solar:
                      show_daily: true
                      mppts: 2
                    load:
                      show_daily: true
                      dynamic_colour: true
                      dynamic_icon: true
                    grid:
                      show_daily_buy: true
                      show_daily_sell: true
                      show_nonessential: false
                      invert_grid: true
                      additional_loads: 2
                    entities:
                      inverter_voltage_154: sensor.lux_grid_voltage_live
                      load_frequency_192: sensor.lux_grid_frequency_live
                      inverter_current_164: sensor.inverter_output_current