benct / lovelace-multiple-entity-row

Show multiple entity states and attributes on entity rows in Home Assistant's Lovelace UI
MIT License
797 stars 60 forks source link

hold_action and double_tap_action not working #338

Open morenod opened 3 months ago

morenod commented 3 months ago

With following configuration, hold and double tap are not working:

type: entities
entities:
  - entity: switch.xxx1
    name: XXX
    icon: mdi:power
  - entity: light.xxx2
    icon: mdi:ceiling-fan-light
    name: xxx2
    type: custom:multiple-entity-row
    state_color: true
    show_state: false
    toggle: true
    entities:
      - entity: switch.switch_relay_1
        icon: mdi:power
        name: false
        state_color: true
        tap_action:
          action: toggle
      - entity: fan.fan_2
        name: false
        toggle: true
        icon: mdi:fan
        state_color: true
        tap_action:
          action: toggle
        hold_action:
          action: more-info
        double_tap_action:
          action: more-info
title: YYY
show_header_toggle: false
state_color: true

image

ildar170975 commented 2 months ago

Code is unformated and cannot be analysed.

morenod commented 2 months ago

I added the code markout

ildar170975 commented 2 months ago

From Docs: image