mirror of
https://github.com/home-assistant/core.git
synced 2026-04-17 23:53:49 +01:00
40 lines
863 B
YAML
40 lines
863 B
YAML
.humidity_threshold_entity: &humidity_threshold_entity
|
|
- domain: input_number
|
|
unit_of_measurement: "%"
|
|
- domain: sensor
|
|
device_class: humidity
|
|
- domain: number
|
|
device_class: humidity
|
|
|
|
.humidity_threshold_number: &humidity_threshold_number
|
|
min: 0
|
|
max: 100
|
|
mode: box
|
|
unit_of_measurement: "%"
|
|
|
|
is_value:
|
|
target:
|
|
entity:
|
|
- domain: sensor
|
|
device_class: humidity
|
|
- domain: climate
|
|
- domain: humidifier
|
|
- domain: weather
|
|
fields:
|
|
behavior:
|
|
required: true
|
|
default: any
|
|
selector:
|
|
select:
|
|
translation_key: condition_behavior
|
|
options:
|
|
- all
|
|
- any
|
|
threshold:
|
|
required: true
|
|
selector:
|
|
numeric_threshold:
|
|
entity: *humidity_threshold_entity
|
|
mode: is
|
|
number: *humidity_threshold_number
|