Giter Club home page Giter Club logo

Comments (8)

benct avatar benct commented on August 18, 2024 1

The top row you have there is handled in a special way by HA, which is not fully supported in this card. I could add support for customizable tap actions, which can toggle the locked state for you, but it will still display the Locked or Unlocked state value, not Unlock or Lock as the top row does.

I'll probably implement that together with the issue you referred to, but yes, they are slightly different :)

from lovelace-multiple-entity-row.

benct avatar benct commented on August 18, 2024 1

The toggle service for both lock and cover should now be fixed in version 3.5.0. Sorry for taking so long!

from lovelace-multiple-entity-row.

mrand avatar mrand commented on August 18, 2024

but it will still display the Locked or Unlocked state value, not Unlock or Lock as the top row does.

That should work. Or maybe I could use a sensor template or something to change the wording. Thanks!

from lovelace-multiple-entity-row.

benct avatar benct commented on August 18, 2024

Standard tap_action configuration with toggle action implemented in v3.0.0. See readme for more info.

from lovelace-multiple-entity-row.

mrand avatar mrand commented on August 18, 2024

Thanks for the update! Unfortunately I can't get it to work after upgrading to 3.0:

          - entity: lock.front_door_lock_9
            type: custom:multiple-entity-row
            toggle: false
            tap_action:
              action: toggle

It shows the lock state, as you said it would - but when I click it, nothing happens.
If I change it to action: more-info, then I get more-info pop-up.
If I set toggle: true, then I get the slider and it operates the lock as expected.

I can open another issue and/or help with debugging if you want. I'm still on 0.104 for the moment, if that matters.

from lovelace-multiple-entity-row.

benct avatar benct commented on August 18, 2024

Hmm, there might be an issue with the HA toggle service call that doesn't support all domains.. does it work if you try the following config?

- entity: lock.front_door_lock_9
  type: custom:multiple-entity-row
  toggle: false
  tap_action:
    action: call-service
    service: lock.toggle
    service_data:
      entity_id: lock.front_door_lock_9

from lovelace-multiple-entity-row.

mrand avatar mrand commented on August 18, 2024

from lovelace-multiple-entity-row.

mrand avatar mrand commented on August 18, 2024

I don't know if this is helpful at all: custom-cards/button-card@edb4197

from lovelace-multiple-entity-row.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.