mirror of
https://github.com/home-assistant/core.git
synced 2026-07-11 00:29:29 +01:00
72 lines
2.5 KiB
JSON
72 lines
2.5 KiB
JSON
{
|
|
"common": {
|
|
"condition_behavior_description": "How the power value should match on the targeted entities.",
|
|
"condition_behavior_name": "Behavior",
|
|
"condition_threshold_description": "What to test for and threshold values.",
|
|
"condition_threshold_name": "Threshold configuration",
|
|
"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": {
|
|
"behavior": {
|
|
"description": "[%key:component::power::common::condition_behavior_description%]",
|
|
"name": "[%key:component::power::common::condition_behavior_name%]"
|
|
},
|
|
"threshold": {
|
|
"description": "[%key:component::power::common::condition_threshold_description%]",
|
|
"name": "[%key:component::power::common::condition_threshold_name%]"
|
|
}
|
|
},
|
|
"name": "Power value"
|
|
}
|
|
},
|
|
"selector": {
|
|
"condition_behavior": {
|
|
"options": {
|
|
"all": "All",
|
|
"any": "Any"
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|