mirror of
https://github.com/home-assistant/core.git
synced 2026-08-07 05:46:41 +01:00
151 lines
4.6 KiB
JSON
151 lines
4.6 KiB
JSON
{
|
|
"common": {
|
|
"condition_behavior_name": "Condition passes if",
|
|
"condition_for_name": "For at least",
|
|
"condition_threshold_name": "Threshold type",
|
|
"trigger_behavior_name": "Trigger when",
|
|
"trigger_for_name": "For at least",
|
|
"trigger_threshold_name": "Threshold type"
|
|
},
|
|
"conditions": {
|
|
"is_charging": {
|
|
"description": "Tests if one or more batteries are charging.",
|
|
"fields": {
|
|
"behavior": {
|
|
"name": "[%key:component::battery::common::condition_behavior_name%]"
|
|
},
|
|
"for": {
|
|
"name": "[%key:component::battery::common::condition_for_name%]"
|
|
}
|
|
},
|
|
"name": "Battery is charging"
|
|
},
|
|
"is_level": {
|
|
"description": "Tests the battery level of one or more batteries.",
|
|
"fields": {
|
|
"behavior": {
|
|
"name": "[%key:component::battery::common::condition_behavior_name%]"
|
|
},
|
|
"for": {
|
|
"name": "[%key:component::battery::common::condition_for_name%]"
|
|
},
|
|
"threshold": {
|
|
"name": "[%key:component::battery::common::condition_threshold_name%]"
|
|
}
|
|
},
|
|
"name": "Battery level"
|
|
},
|
|
"is_low": {
|
|
"description": "Tests if one or more batteries are low.",
|
|
"fields": {
|
|
"behavior": {
|
|
"name": "[%key:component::battery::common::condition_behavior_name%]"
|
|
},
|
|
"for": {
|
|
"name": "[%key:component::battery::common::condition_for_name%]"
|
|
}
|
|
},
|
|
"name": "Battery is low"
|
|
},
|
|
"is_not_charging": {
|
|
"description": "Tests if one or more batteries are not charging.",
|
|
"fields": {
|
|
"behavior": {
|
|
"name": "[%key:component::battery::common::condition_behavior_name%]"
|
|
},
|
|
"for": {
|
|
"name": "[%key:component::battery::common::condition_for_name%]"
|
|
}
|
|
},
|
|
"name": "Battery is not charging"
|
|
},
|
|
"is_not_low": {
|
|
"description": "Tests if one or more batteries are not low.",
|
|
"fields": {
|
|
"behavior": {
|
|
"name": "[%key:component::battery::common::condition_behavior_name%]"
|
|
},
|
|
"for": {
|
|
"name": "[%key:component::battery::common::condition_for_name%]"
|
|
}
|
|
},
|
|
"name": "Battery is not low"
|
|
}
|
|
},
|
|
"title": "Battery",
|
|
"triggers": {
|
|
"became_low": {
|
|
"description": "Triggers when one or more batteries become low.",
|
|
"fields": {
|
|
"behavior": {
|
|
"name": "[%key:component::battery::common::trigger_behavior_name%]"
|
|
},
|
|
"for": {
|
|
"name": "[%key:component::battery::common::trigger_for_name%]"
|
|
}
|
|
},
|
|
"name": "Battery became low"
|
|
},
|
|
"level_changed": {
|
|
"description": "Triggers when the battery level of one or more batteries changes.",
|
|
"fields": {
|
|
"threshold": {
|
|
"name": "[%key:component::battery::common::trigger_threshold_name%]"
|
|
}
|
|
},
|
|
"name": "Battery level changed"
|
|
},
|
|
"level_crossed_threshold": {
|
|
"description": "Triggers when the battery level of one or more batteries crosses a threshold.",
|
|
"fields": {
|
|
"behavior": {
|
|
"name": "[%key:component::battery::common::trigger_behavior_name%]"
|
|
},
|
|
"for": {
|
|
"name": "[%key:component::battery::common::trigger_for_name%]"
|
|
},
|
|
"threshold": {
|
|
"name": "[%key:component::battery::common::trigger_threshold_name%]"
|
|
}
|
|
},
|
|
"name": "Battery level crossed threshold"
|
|
},
|
|
"no_longer_low": {
|
|
"description": "Triggers when one or more batteries are no longer low.",
|
|
"fields": {
|
|
"behavior": {
|
|
"name": "[%key:component::battery::common::trigger_behavior_name%]"
|
|
},
|
|
"for": {
|
|
"name": "[%key:component::battery::common::trigger_for_name%]"
|
|
}
|
|
},
|
|
"name": "Battery no longer low"
|
|
},
|
|
"started_charging": {
|
|
"description": "Triggers when one or more batteries start charging.",
|
|
"fields": {
|
|
"behavior": {
|
|
"name": "[%key:component::battery::common::trigger_behavior_name%]"
|
|
},
|
|
"for": {
|
|
"name": "[%key:component::battery::common::trigger_for_name%]"
|
|
}
|
|
},
|
|
"name": "Battery started charging"
|
|
},
|
|
"stopped_charging": {
|
|
"description": "Triggers when one or more batteries stop charging.",
|
|
"fields": {
|
|
"behavior": {
|
|
"name": "[%key:component::battery::common::trigger_behavior_name%]"
|
|
},
|
|
"for": {
|
|
"name": "[%key:component::battery::common::trigger_for_name%]"
|
|
}
|
|
},
|
|
"name": "Battery stopped charging"
|
|
}
|
|
}
|
|
}
|