mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Lovelace: Change glance tap action (#5864)
This commit is contained in:
parent
db132868ec
commit
073b741471
@ -66,9 +66,18 @@ icon:
|
|||||||
type: string
|
type: string
|
||||||
tap_action:
|
tap_action:
|
||||||
required: false
|
required: false
|
||||||
description: "Set to `toggle` or `turn-on` for direct actions."
|
description: "Set to `toggle` or `call-service` for direct actions."
|
||||||
type: string
|
type: string
|
||||||
default: more-info
|
default: more-info
|
||||||
|
service:
|
||||||
|
required: false
|
||||||
|
description: "For `call-service`, e.g. `media_player.media_play_pause`"
|
||||||
|
type: string
|
||||||
|
service_data:
|
||||||
|
required: false
|
||||||
|
description: The service data to use.
|
||||||
|
type: object
|
||||||
|
default: "entity_id: entity_id"
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
## {% linkable_title Examples %}
|
## {% linkable_title Examples %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user