1
0
mirror of https://github.com/home-assistant/core.git synced 2026-05-04 15:48:48 +01:00
Files
core/homeassistant/components/temperature/conditions.yaml
T
2026-03-25 18:29:20 +01:00

53 lines
1.2 KiB
YAML

.number_or_entity_temperature: &number_or_entity_temperature
required: false
selector:
choose:
choices:
number:
selector:
number:
mode: box
entity:
selector:
entity:
filter:
- domain: input_number
unit_of_measurement:
- "°C"
- "°F"
- domain: sensor
device_class: temperature
- domain: number
device_class: temperature
translation_key: number_or_entity
.condition_unit_temperature: &condition_unit_temperature
required: false
selector:
select:
options:
- "°C"
- "°F"
is_value:
target:
entity:
- domain: sensor
device_class: temperature
- domain: climate
- domain: water_heater
- domain: weather
fields:
behavior:
required: true
default: any
selector:
select:
translation_key: condition_behavior
options:
- all
- any
above: *number_or_entity_temperature
below: *number_or_entity_temperature
unit: *condition_unit_temperature