mirror of
https://github.com/home-assistant/core.git
synced 2026-04-29 02:13:44 +02:00
9948431012
Co-authored-by: Erik Montnemery <erik@montnemery.com>
137 lines
4.2 KiB
JSON
137 lines
4.2 KiB
JSON
{
|
|
"common": {
|
|
"condition_behavior_description": "How the state 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"
|
|
},
|
|
"conditions": {
|
|
"is_detected": {
|
|
"description": "Tests if light is currently detected.",
|
|
"fields": {
|
|
"behavior": {
|
|
"description": "[%key:component::illuminance::common::condition_behavior_description%]",
|
|
"name": "[%key:component::illuminance::common::condition_behavior_name%]"
|
|
}
|
|
},
|
|
"name": "Light is detected"
|
|
},
|
|
"is_not_detected": {
|
|
"description": "Tests if light is currently not detected.",
|
|
"fields": {
|
|
"behavior": {
|
|
"description": "[%key:component::illuminance::common::condition_behavior_description%]",
|
|
"name": "[%key:component::illuminance::common::condition_behavior_name%]"
|
|
}
|
|
},
|
|
"name": "Light is not detected"
|
|
},
|
|
"is_value": {
|
|
"description": "Tests the illuminance value.",
|
|
"fields": {
|
|
"above": {
|
|
"description": "Require the illuminance to be above this value.",
|
|
"name": "Above"
|
|
},
|
|
"behavior": {
|
|
"description": "[%key:component::illuminance::common::condition_behavior_description%]",
|
|
"name": "[%key:component::illuminance::common::condition_behavior_name%]"
|
|
},
|
|
"below": {
|
|
"description": "Require the illuminance to be below this value.",
|
|
"name": "Below"
|
|
}
|
|
},
|
|
"name": "Illuminance"
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
},
|
|
"trigger_threshold_type": {
|
|
"options": {
|
|
"above": "Above",
|
|
"below": "Below",
|
|
"between": "Between",
|
|
"outside": "Outside"
|
|
}
|
|
}
|
|
},
|
|
"title": "Illuminance",
|
|
"triggers": {
|
|
"changed": {
|
|
"description": "Triggers after one or more illuminance values change.",
|
|
"fields": {
|
|
"above": {
|
|
"description": "Only trigger when illuminance is above this value.",
|
|
"name": "Above"
|
|
},
|
|
"below": {
|
|
"description": "Only trigger when illuminance is below this value.",
|
|
"name": "Below"
|
|
}
|
|
},
|
|
"name": "Illuminance changed"
|
|
},
|
|
"cleared": {
|
|
"description": "Triggers after one or more light sensors stop detecting light.",
|
|
"fields": {
|
|
"behavior": {
|
|
"description": "[%key:component::illuminance::common::trigger_behavior_description%]",
|
|
"name": "[%key:component::illuminance::common::trigger_behavior_name%]"
|
|
}
|
|
},
|
|
"name": "Light cleared"
|
|
},
|
|
"crossed_threshold": {
|
|
"description": "Triggers after one or more illuminance values cross a threshold.",
|
|
"fields": {
|
|
"behavior": {
|
|
"description": "[%key:component::illuminance::common::trigger_behavior_description%]",
|
|
"name": "[%key:component::illuminance::common::trigger_behavior_name%]"
|
|
},
|
|
"lower_limit": {
|
|
"description": "The lower limit of the threshold.",
|
|
"name": "Lower limit"
|
|
},
|
|
"threshold_type": {
|
|
"description": "The type of threshold to use.",
|
|
"name": "Threshold type"
|
|
},
|
|
"upper_limit": {
|
|
"description": "The upper limit of the threshold.",
|
|
"name": "Upper limit"
|
|
}
|
|
},
|
|
"name": "Illuminance crossed threshold"
|
|
},
|
|
"detected": {
|
|
"description": "Triggers after one or more light sensors start detecting light.",
|
|
"fields": {
|
|
"behavior": {
|
|
"description": "[%key:component::illuminance::common::trigger_behavior_description%]",
|
|
"name": "[%key:component::illuminance::common::trigger_behavior_name%]"
|
|
}
|
|
},
|
|
"name": "Light detected"
|
|
}
|
|
}
|
|
}
|