thomasloven / lovelace-template-entity-row

🔹 Display whatever you want in an entities card row.
MIT License
210 stars 16 forks source link

Tap_action do not work with condition option #28

Closed JanuszMarek closed 3 years ago

JanuszMarek commented 4 years ago

Hi,

I have following card config:

          - type: custom:template-entity-row
            entity: binary_sensor.sensor
            tap_action:
              action: more-info
            condition: "{{is_state('binary_sensor.sensor', 'on')}}"

And when 'condition' option is set tap_action do not work, after click nothing happens. After comment out condition option tap_action is working correctly.

Home Assistant 0.111.4