mirror of
https://github.com/home-assistant/core.git
synced 2026-06-02 05:34:15 +01:00
05eeb6a1bc
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: frenck <195327+frenck@users.noreply.github.com>
103 lines
3.1 KiB
JSON
103 lines
3.1 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_detected": {
|
|
"description": "Tests if light is currently detected.",
|
|
"fields": {
|
|
"behavior": {
|
|
"name": "[%key:component::illuminance::common::condition_behavior_name%]"
|
|
},
|
|
"for": {
|
|
"name": "[%key:component::illuminance::common::condition_for_name%]"
|
|
}
|
|
},
|
|
"name": "Light is detected"
|
|
},
|
|
"is_not_detected": {
|
|
"description": "Tests if light is currently not detected.",
|
|
"fields": {
|
|
"behavior": {
|
|
"name": "[%key:component::illuminance::common::condition_behavior_name%]"
|
|
},
|
|
"for": {
|
|
"name": "[%key:component::illuminance::common::condition_for_name%]"
|
|
}
|
|
},
|
|
"name": "Light is not detected"
|
|
},
|
|
"is_value": {
|
|
"description": "Tests the illuminance value.",
|
|
"fields": {
|
|
"behavior": {
|
|
"name": "[%key:component::illuminance::common::condition_behavior_name%]"
|
|
},
|
|
"for": {
|
|
"name": "[%key:component::illuminance::common::condition_for_name%]"
|
|
},
|
|
"threshold": {
|
|
"name": "[%key:component::illuminance::common::condition_threshold_name%]"
|
|
}
|
|
},
|
|
"name": "Illuminance"
|
|
}
|
|
},
|
|
"title": "Illuminance",
|
|
"triggers": {
|
|
"changed": {
|
|
"description": "Triggers after one or more illuminance values change.",
|
|
"fields": {
|
|
"threshold": {
|
|
"name": "[%key:component::illuminance::common::trigger_threshold_name%]"
|
|
}
|
|
},
|
|
"name": "Illuminance changed"
|
|
},
|
|
"cleared": {
|
|
"description": "Triggers after one or more light sensors stop detecting light.",
|
|
"fields": {
|
|
"behavior": {
|
|
"name": "[%key:component::illuminance::common::trigger_behavior_name%]"
|
|
},
|
|
"for": {
|
|
"name": "[%key:component::illuminance::common::trigger_for_name%]"
|
|
}
|
|
},
|
|
"name": "Light cleared"
|
|
},
|
|
"crossed_threshold": {
|
|
"description": "Triggers after one or more illuminance values cross a threshold.",
|
|
"fields": {
|
|
"behavior": {
|
|
"name": "[%key:component::illuminance::common::trigger_behavior_name%]"
|
|
},
|
|
"for": {
|
|
"name": "[%key:component::illuminance::common::trigger_for_name%]"
|
|
},
|
|
"threshold": {
|
|
"name": "[%key:component::illuminance::common::trigger_threshold_name%]"
|
|
}
|
|
},
|
|
"name": "Illuminance crossed threshold"
|
|
},
|
|
"detected": {
|
|
"description": "Triggers after one or more light sensors start detecting light.",
|
|
"fields": {
|
|
"behavior": {
|
|
"name": "[%key:component::illuminance::common::trigger_behavior_name%]"
|
|
},
|
|
"for": {
|
|
"name": "[%key:component::illuminance::common::trigger_for_name%]"
|
|
}
|
|
},
|
|
"name": "Light detected"
|
|
}
|
|
}
|
|
}
|