Getting HA Insteon Keypad to control Fanlinc

My keypad controls a fanlic and it works well. The HA Insteon integration found the fan and keypad and I can control the light and fan (all 3 modes) from the Insteon fan/light card. However, the buttons on the Insteon keypad card are not communicating with the fanlinc. When toggled, the HA keypad buttons will control the keypad lights without changing the light of fan. Furthermore, whenever HA restarts, the keypad defaults to Fan Low. I’m looking for the settings that will link the keypad to the fanlinc and allow control of the keypad buttons. Thanks.

Did you ever figure this out? I’m in a similar boat

I created an automation that detects when the fanlinc are set in a range ie between 10% and 40%. It then set a trigger ID that and a choose function to pick the Trigger ID state. Then it will will call the insteon theme for fan off, low, medium or high. Here is the yaml file I hope it helps. I’m still learning but this does work for me.

alias: Kitchen Fan
description: ""
triggers:
  - trigger: state
    entity_id:
      - light.fanlinc_53_34_54_light
    to: "on"
    id: Light On
    enabled: true
  - trigger: state
    entity_id:
      - light.fanlinc_53_34_54_light
    to: "off"
    id: Light Off
    enabled: true
  - trigger: numeric_state
    entity_id:
      - fan.fanlinc_53_34_54_fan
    attribute: percentage
    above: 10
    below: 39
    id: fan low
  - trigger: numeric_state
    entity_id:
      - fan.fanlinc_53_34_54_fan
    attribute: percentage
    above: 40
    below: 79
    id: fan med
  - trigger: numeric_state
    entity_id:
      - fan.fanlinc_53_34_54_fan
    attribute: percentage
    above: 80
    id: fan high
  - trigger: state
    entity_id:
      - fan.fanlinc_53_34_54_fan
    from: "on"
    to: "off"
    id: fan off
conditions: []
actions:
  - choose:
      - conditions:
          - condition: trigger
            id:
              - Light On
        sequence:
          - action: light.turn_on
            target:
              entity_id:
                - light.keypad_with_dimmer_58_8c_f8_main
            data: {}
      - conditions:
          - condition: trigger
            id:
              - Light Off
        sequence:
          - action: light.turn_off
            target:
              entity_id:
                - light.keypad_with_dimmer_58_8c_f8_main
            data: {}
      - conditions:
          - condition: trigger
            id:
              - fan low
        sequence:
          - action: insteon.scene_on
            data:
              group: 37
      - conditions:
          - condition: trigger
            id:
              - fan med
        sequence:
          - action: insteon.scene_on
            data:
              group: 38
      - conditions:
          - condition: trigger
            id:
              - fan high
        sequence:
          - action: insteon.scene_on
            data:
              group: 36
      - conditions:
          - condition: trigger
            id:
              - fan off
        sequence:
          - action: insteon.scene_on
            data:
              group: 40
mode: single