How to use Insteon Scenes on a button card

Hi,
I’m a long time Insteon user and have moved to HA recently. I’ve moved all my automations (ie. mostly time triggered) to HA and things are great. I’ve intentionally left all the Insteon Scenes configured in my hub because I like the instant on/off response time instead of the delayed effect through HA automation.

Here’s my challenge…in my Insteon setup, I have two keypad controllers and the A button on each controls the same lamp. This is all defined as an Insteon Scene so I can press either of the A buttons on either controller and the the light will toggle on/off. Holding the A button causes the light to dim.

How do I recreate that same “effect” in Lovelace/HA? I’m thinking I need some sort of combo card that has a toggle button plus a slider. Is there such a card? It’s tricky because the the light is defined as light in HA, the keypad buttons are defined as switches in HA, and in Insteon they are all linked together in the same scene. So I want the button to call an Insteon Scene to turn on, but I want the slider to brighten/dim the associated lamp module.

Any thoughts from any Insteon/HA power users?

Thanks,
J

Did you ever come up with a solution here?

I did end up finding a solution. What partially helped is that I moved away from the Insteon integration in HA. It was way too unreliable for me as it constantly showed lights that were on when they off in reality and vice versa. I ended up moving to an ISY and have had no issues ever since.

With that said, the ISY exposes all Insteon scenes to HA as switches. In the end, I ended up using a custom-slider-button card which gave me lots of flexibility and supported lights, switches, fans etc.

The key to this is that I ended up specifying two entities: the main entity itself (eg. light.wardrobe_light in my example below) as well as the switch that controls the scene (eg. switch.3_way_wardrobe_light).

So now when I use this card, I tap the icon to turn the scene on and off, and then use the slider to control for the main entity to control brightness, fan speed etc.

Hope this helps.

 - type: custom:slider-button-card
    entity: light.wardrobe_light
    slider:
      direction: left-right
      background: gradient
      use_state_color: true
      use_percentage_bg_opacity: false
      show_track: true
      toggle_on_click: false
      force_square: false
      show_attribute: false
    show_name: true
    show_state: false
    compact: true
    icon:
      show: true
      use_state_color: true
      tap_action:
        action: call-service
        service: switch.toggle
        service_data:
          entity_id: switch.3_way_wardrobe_light
        data: {}
      icon: mdi:light-recessed
    action_button:
      mode: custom
      icon: mdi:power
      show: false
      show_spinner: true
      tap_action:
        action: none
    name: Wardrobe