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

Add tap action when embedded in entities #38

Closed
OToussaint opened this issue Jun 3, 2022 · 1 comment
Closed

Add tap action when embedded in entities #38

OToussaint opened this issue Jun 3, 2022 · 1 comment
Labels
feature request New feature or request

Comments

@OToussaint
Copy link
Contributor

OToussaint commented Jun 3, 2022

I'd like to be able to use the

double_tap_action:
  action: ...

And also, tap_action as well as hold_action when the card is embedded (but not only?) in an entities card like so:

type: entities
entities:
  - type: custom:time-picker-card
    entity: input_datetime.shower
    name: Time to shower, kids
    hour_mode: 24
    link_values: true
    layout:
      name: inside
      align_controls: right
      embedded: true
    double_tap_action:
      action: call-service
      service: automation.trigger
      data:
        entity_id: automation.time_to_shower

This to be able to trigger my linked automation on demand.

@OToussaint OToussaint added the feature request New feature or request label Jun 3, 2022
@OToussaint OToussaint changed the title Add action when embedded Add tap action when embedded Jun 8, 2022
@OToussaint OToussaint changed the title Add tap action when embedded Add tap action when embedded in entities Jul 14, 2022
@GeorgeSG
Copy link
Owner

GeorgeSG commented Nov 3, 2022

Version 1.3.0 adds tap actions. Thanks for the suggestion!

@GeorgeSG GeorgeSG closed this as completed Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants