Comments (8)
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.
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.
but it will still display the
Locked
orUnlocked
state value, notUnlock
orLock
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.
Standard tap_action
configuration with toggle
action implemented in v3.0.0. See readme for more info.
from lovelace-multiple-entity-row.
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.
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.
from lovelace-multiple-entity-row.
I don't know if this is helpful at all: custom-cards/button-card@edb4197
from lovelace-multiple-entity-row.
Related Issues (20)
- Cover entity - How to show standard up, stop, down buttons HOT 2
- Currency display inconsistency
- entity: sensor.lovelace_multiple_entity_row - Entity not available HOT 4
- Toogle & Text HOT 10
- Feature Request: Format - Percent? HOT 1
- Handle or silence RangeError? HOT 1
- Add support for icon_color HOT 8
- Aligment and format:timehs Error
- Toggle tap_action does not change last-changed info
- A silly question about padding
- State dependant icons (motion, door / window sensors) replaced with mdi:bookmark HOT 22
- hide_unavailable: true does not hide HOT 4
- The sensor is displayed with a decimal part that should not be there HOT 3
- Why does an entity object not have a hold_action? HOT 2
- Value 0 shown as 0.0 HOT 3
- Tap actions do not work for sub items if they do not have an entity HOT 1
- hold_action and double_tap_action not working HOT 3
- Wrong visualization of attributes ("," instead of ".") - no localization override HOT 3
- Allow current entity state in entities without repeating entity ID HOT 1
- Is it possible to hide somehow icon and name?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lovelace-multiple-entity-row.