mirror of
https://github.com/home-assistant/core.git
synced 2026-04-02 16:36:08 +01:00
98 lines
2.7 KiB
JSON
98 lines
2.7 KiB
JSON
{
|
|
"common": {
|
|
"condition_behavior_name": "Condition passes if",
|
|
"condition_threshold_name": "Threshold type",
|
|
"trigger_behavior_name": "Trigger when",
|
|
"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%]"
|
|
}
|
|
},
|
|
"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%]"
|
|
}
|
|
},
|
|
"name": "Light is not detected"
|
|
},
|
|
"is_value": {
|
|
"description": "Tests the illuminance value.",
|
|
"fields": {
|
|
"behavior": {
|
|
"name": "[%key:component::illuminance::common::condition_behavior_name%]"
|
|
},
|
|
"threshold": {
|
|
"name": "[%key:component::illuminance::common::condition_threshold_name%]"
|
|
}
|
|
},
|
|
"name": "Illuminance"
|
|
}
|
|
},
|
|
"selector": {
|
|
"condition_behavior": {
|
|
"options": {
|
|
"all": "All",
|
|
"any": "Any"
|
|
}
|
|
},
|
|
"trigger_behavior": {
|
|
"options": {
|
|
"any": "Any",
|
|
"first": "First",
|
|
"last": "Last"
|
|
}
|
|
}
|
|
},
|
|
"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%]"
|
|
}
|
|
},
|
|
"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%]"
|
|
},
|
|
"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%]"
|
|
}
|
|
},
|
|
"name": "Light detected"
|
|
}
|
|
}
|
|
}
|