Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Special Row Elements in an Entity Row #6

Closed
BeerDiet opened this issue Aug 25, 2019 · 2 comments
Closed

Support for Special Row Elements in an Entity Row #6

BeerDiet opened this issue Aug 25, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@BeerDiet
Copy link

Looking at this link: https://www.home-assistant.io/lovelace/entities/ -- see the section on "Special Row Elements." Specifically, having the ability to launch a script from a button in-line on the entity row would be excellent.

I could see the config being something like:

 entities:
 - entity: input_datetime.sleep_time_shutoff
   name: Sleep Timer
   type: custom:multiple-entity-row
   secondary_info: last-changed
   hide_state: true
   primary:
     type: call-service
     name: false
     action_name: '+30'
     service: script.sleep_timer_add_30

What this would show is a single row (sorry for the ASCII only -- the "[+ 30]" represents a button that launches the script):

Sleep Timer ----------------------------- [+ 30] 22:34

Let me know if you think this makes sense and if I can help in any other way.

@benct
Copy link
Owner

benct commented Sep 2, 2019

Good suggestion! I will try to add this is a future release, if possible :)

@benct benct added the enhancement New feature or request label Sep 2, 2019
@benct benct closed this as completed in bfc2386 Jan 8, 2020
@BeerDiet
Copy link
Author

BeerDiet commented Jan 8, 2020

Thanks Ben!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants