Can someone explain this switch appearance inconsistency?

Hi, I have generated some YAML switches and for some reason they have different icons. One of them has a toggle, where the others have 2 lightning bolt icons. Whats weird is that the the same switch platform type (template) is generating different results. Ideally I’d like them all to display as toggles.

#Broadlink Remote Lounge Room - IP 10.0.1.20
- platform: broadlink
  mac: bla:bla:bla:bla
  switches:
    - name: Yamaha RX-V3075
      command_on: "JgBgAAABJpQSExI4EjgSOBI3EjgUNhITEjgSExITEhMSExITEhMSOBITEjgSExI4ERQSNxITEhMSOBITEjgUERI4EhMSOBI4EgAFFwABJksSAAxUAAElSxIADFQAASZKEgANBQAAAAAAAAAA="
      command_off: "JgBgAAABJpQSExI4EjgSOBI3EjgUNhITEjgSExITEhMSExITEhMSOBITEjgSExI4ERQSNxITEhMSOBITEjgUERI4EhMSOBI4EgAFFwABJksSAAxUAAElSxIADFQAASZKEgANBQAAAAAAAAAA="

#Yamaha RX-V2400 Switch Template using TP Link HS110 to determine status based on wattage
- platform: template
  switches:
    yamaha_rx_v2400_power_with_sensor:
      friendly_name: "Yamaha RX-V2400"
      value_template: "{{state_attr('switch.yamaha_rx_v2400_mains_power', 'current_power_w')|float >= 5 }}"
      turn_on:
        service: remote.send_command
        data:
          entity_id: remote.rm_mini_3_studio
          command: b64:JgCQAAABJJQSExE4EhMTNhI4ETgROBITETgSExE4EhMTEhETERQROBE4EhMTNhI4ETgTEhMRExIRFBE4ERQRExMSETgSOBE4EQAFGwABJJURExI4ERMSOBE4ETgSOBETETkRExE5ERMRFBEUERMROBI4ERMSOBE4ETgSExEUERMSExE4EhMRFBETEjcSOBE4EQANBQAAAAAAAAAA=
      turn_off:
        service: remote.send_command
        data:
          entity_id: remote.rm_mini_3_studio
          command: b64:JgBQAAABJJQRFBE4ERQROBE4ETgSOBETEjgRExI4ERMSExEUERMSOBETEjgROBE4EjgRExEUERQROBEUERMRFBEUETgROBE4EgAFGwABJUoSAA0FAAAAAAAAAAA=

#BenQ Power
- platform: template
  switches:
    benq_w1070_power:
      friendly_name: "BenQ W1070"
      turn_on:
        service: remote.send_command
        data:
          entity_id: remote.rm_mini_3_lounge_room_remote
          command: b64:JgBQAAABKJMTExITEhQRFBEUERMSFRAUEhMTEhIUERMTOBE5ExISExITEzcSFBEUEhMSFBISEhQROREUEjgSOBM3EjgTNxI4EgAF9gABJ0oTAA0FAAAAAAAAAAA=
      turn_off:
        - service: remote.send_command
          data:
            entity_id: remote.rm_mini_3_lounge_room_remote
            command: b64:JgBQAAABKJMTExITEhQRFBEUERMSFRAUEhMTEhIUERMTOBE5ExISExITEzcSFBEUEhMSFBISEhQROREUEjgSOBM3EjgTNxI4EgAF9gABJ0oTAA0FAAAAAAAAAAA=
        - delay: 00:00:02
        - service: remote.send_command
          data:
            entity_id: remote.rm_mini_3_lounge_room_remote
            command: b64:JgBQAAABKJMTExITEhQRFBEUERMSFRAUEhMTEhIUERMTOBE5ExISExITEzcSFBEUEhMSFBISEhQROREUEjgSOBM3EjgTNxI4EgAF9gABJ0oTAA0FAAAAAAAAAAA=

Any ideas?

The unit with the slider switch (RX-V2400) is the only one where HA has an awareness of the current on/off status of the device (due to the value_template).

The other two devices show up as stateless buttons since HA does not know if the unit is currently on or off.

1 Like

Ah awesome thanks that makes a lot of sense… these devices will eventually get states when I go get some more TP Link HS110’s :smiley: thanks for the info, really helpful.

1 Like