Correct tap/hold action options and default (#7918)

This commit is contained in:
Ian Richardson 2018-12-21 01:50:50 -06:00 committed by Thomas Lovén
parent 78270c471e
commit 96400ccfac

View File

@ -33,9 +33,9 @@ tap_action:
keys: keys:
action: action:
required: true required: true
description: "Action to perform (`more-info`, `toggle`, `call-service`, `navigate`, `none`)" description: "Action to perform (`call-service`, `navigate`, `none`)"
type: string type: string
default: "`more-info`" default: "`none`"
navigation_path: navigation_path:
required: false required: false
description: "Path to navigate to (e.g. `/lovelace/0/`) when `action` defined as `navigate`" description: "Path to navigate to (e.g. `/lovelace/0/`) when `action` defined as `navigate`"
@ -58,9 +58,9 @@ hold_action:
keys: keys:
action: action:
required: true required: true
description: "Action to perform (`more-info`, `toggle`, `call-service`, `navigate`, `none`)" description: "Action to perform (`call-service`, `navigate`, `none`)"
type: string type: string
default: "`more-info`" default: "`none`"
navigation_path: navigation_path:
required: false required: false
description: "Path to navigate to (e.g. `/lovelace/0/`) when `action` defined as `navigate`" description: "Path to navigate to (e.g. `/lovelace/0/`) when `action` defined as `navigate`"