mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-25 18:26:56 +00:00
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:
parent
8e561c6530
commit
193d4169c4
@ -38,6 +38,11 @@ attribute:
|
|||||||
description: Get value of an attribute on the selected tag.
|
description: Get value of an attribute on the selected tag.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
index:
|
||||||
|
description: Defines which of the elements returned by the CSS selector to use.
|
||||||
|
required: false
|
||||||
|
default: 0
|
||||||
|
type: integer
|
||||||
name:
|
name:
|
||||||
description: Name of the sensor.
|
description: Name of the sensor.
|
||||||
required: false
|
required: false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user