mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 08:16:53 +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.
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user