10 wiersze
316 B
YAML
10 wiersze
316 B
YAML
- platform: rest
|
|
resource: !secret office_details_url
|
|
name: Camera Mode Office
|
|
value_template: '{{ value_json.mode }}'
|
|
|
|
- platform: rest
|
|
resource: !secret office_details_url
|
|
name: Camera Motion Office
|
|
value_template: '{{ value_json.details|string|regex_search("\"detector\":\"1\"", ignorecase=FALSE) }}'
|