mirror of
https://github.com/home-assistant/core.git
synced 2026-04-18 16:06:42 +01:00
84 lines
2.7 KiB
JSON
84 lines
2.7 KiB
JSON
{
|
|
"common": {
|
|
"condition_behavior_description": "How the power value should match on the targeted entities.",
|
|
"condition_behavior_name": "Behavior",
|
|
"trigger_behavior_description": "The behavior of the targeted entities to trigger on.",
|
|
"trigger_behavior_name": "Behavior",
|
|
"trigger_threshold_changed_description": "Which changes to trigger on and threshold values.",
|
|
"trigger_threshold_crossed_description": "Which threshold crossing to trigger on and threshold values.",
|
|
"trigger_threshold_name": "Threshold configuration"
|
|
},
|
|
"conditions": {
|
|
"is_value": {
|
|
"description": "Tests the power value of one or more entities.",
|
|
"fields": {
|
|
"above": {
|
|
"description": "Require the power to be above this value.",
|
|
"name": "Above"
|
|
},
|
|
"behavior": {
|
|
"description": "[%key:component::power::common::condition_behavior_description%]",
|
|
"name": "[%key:component::power::common::condition_behavior_name%]"
|
|
},
|
|
"below": {
|
|
"description": "Require the power to be below this value.",
|
|
"name": "Below"
|
|
},
|
|
"unit": {
|
|
"description": "All values will be converted to this unit when evaluating the condition.",
|
|
"name": "Unit of measurement"
|
|
}
|
|
},
|
|
"name": "Power value"
|
|
}
|
|
},
|
|
"selector": {
|
|
"condition_behavior": {
|
|
"options": {
|
|
"all": "All",
|
|
"any": "Any"
|
|
}
|
|
},
|
|
"number_or_entity": {
|
|
"choices": {
|
|
"entity": "Entity",
|
|
"number": "Number"
|
|
}
|
|
},
|
|
"trigger_behavior": {
|
|
"options": {
|
|
"any": "Any",
|
|
"first": "First",
|
|
"last": "Last"
|
|
}
|
|
}
|
|
},
|
|
"title": "Power",
|
|
"triggers": {
|
|
"changed": {
|
|
"description": "Triggers after one or more power values change.",
|
|
"fields": {
|
|
"threshold": {
|
|
"description": "[%key:component::power::common::trigger_threshold_changed_description%]",
|
|
"name": "[%key:component::power::common::trigger_threshold_name%]"
|
|
}
|
|
},
|
|
"name": "Power changed"
|
|
},
|
|
"crossed_threshold": {
|
|
"description": "Triggers after one or more power values cross a threshold.",
|
|
"fields": {
|
|
"behavior": {
|
|
"description": "[%key:component::power::common::trigger_behavior_description%]",
|
|
"name": "[%key:component::power::common::trigger_behavior_name%]"
|
|
},
|
|
"threshold": {
|
|
"description": "[%key:component::power::common::trigger_threshold_crossed_description%]",
|
|
"name": "[%key:component::power::common::trigger_threshold_name%]"
|
|
}
|
|
},
|
|
"name": "Power crossed threshold"
|
|
}
|
|
}
|
|
}
|