Add index configuration (#8590)

Adds an index configuration variable for cases where the CSS selector
returns more than one result.
This commit is contained in:
David Barrera 2019-02-16 03:29:42 -05:00 committed by Fabian Affolter
parent 8e561c6530
commit 193d4169c4

View File

@ -38,6 +38,11 @@ attribute:
description: Get value of an attribute on the selected tag.
required: false
type: string
index:
description: Defines which of the elements returned by the CSS selector to use.
required: false
default: 0
type: integer
name:
description: Name of the sensor.
required: false