mirror of
https://github.com/home-assistant/core.git
synced 2026-05-17 14:01:34 +01:00
184 lines
5.5 KiB
JSON
184 lines
5.5 KiB
JSON
{
|
|
"common": {
|
|
"condition_behavior_name": "Condition passes if",
|
|
"trigger_behavior_name": "Trigger when",
|
|
"trigger_for_name": "For at least"
|
|
},
|
|
"conditions": {
|
|
"is_off": {
|
|
"description": "Tests if one or more remotes are off.",
|
|
"fields": {
|
|
"behavior": {
|
|
"name": "[%key:component::remote::common::condition_behavior_name%]"
|
|
}
|
|
},
|
|
"name": "Remote is off"
|
|
},
|
|
"is_on": {
|
|
"description": "Tests if one or more remotes are on.",
|
|
"fields": {
|
|
"behavior": {
|
|
"name": "[%key:component::remote::common::condition_behavior_name%]"
|
|
}
|
|
},
|
|
"name": "Remote is on"
|
|
}
|
|
},
|
|
"device_automation": {
|
|
"action_type": {
|
|
"toggle": "[%key:common::device_automation::action_type::toggle%]",
|
|
"turn_off": "[%key:common::device_automation::action_type::turn_off%]",
|
|
"turn_on": "[%key:common::device_automation::action_type::turn_on%]"
|
|
},
|
|
"condition_type": {
|
|
"is_off": "[%key:common::device_automation::condition_type::is_off%]",
|
|
"is_on": "[%key:common::device_automation::condition_type::is_on%]"
|
|
},
|
|
"extra_fields": {
|
|
"for": "[%key:common::device_automation::extra_fields::for%]"
|
|
},
|
|
"trigger_type": {
|
|
"changed_states": "[%key:common::device_automation::trigger_type::changed_states%]",
|
|
"turned_off": "[%key:common::device_automation::trigger_type::turned_off%]",
|
|
"turned_on": "[%key:common::device_automation::trigger_type::turned_on%]"
|
|
}
|
|
},
|
|
"entity_component": {
|
|
"_": {
|
|
"name": "[%key:component::remote::title%]",
|
|
"state": {
|
|
"off": "[%key:common::state::off%]",
|
|
"on": "[%key:common::state::on%]"
|
|
}
|
|
}
|
|
},
|
|
"selector": {
|
|
"condition_behavior": {
|
|
"options": {
|
|
"all": "All",
|
|
"any": "Any"
|
|
}
|
|
},
|
|
"trigger_behavior": {
|
|
"options": {
|
|
"any": "Any",
|
|
"first": "First",
|
|
"last": "Last"
|
|
}
|
|
}
|
|
},
|
|
"services": {
|
|
"delete_command": {
|
|
"description": "Deletes a command or a list of commands from a remote's database.",
|
|
"fields": {
|
|
"command": {
|
|
"description": "The single command or the list of commands to be deleted.",
|
|
"name": "Command"
|
|
},
|
|
"device": {
|
|
"description": "Device from which commands will be deleted.",
|
|
"name": "Device"
|
|
}
|
|
},
|
|
"name": "Delete remote command"
|
|
},
|
|
"learn_command": {
|
|
"description": "Teaches a remote a command or list of commands from a device.",
|
|
"fields": {
|
|
"alternative": {
|
|
"description": "If code must be stored as an alternative. This is useful for discrete codes. Discrete codes are used for toggles that only perform one function. For example, a code to only turn a device on. If it is on already, sending the code won't change the state.",
|
|
"name": "Alternative"
|
|
},
|
|
"command": {
|
|
"description": "A single command or a list of commands to learn.",
|
|
"name": "Command"
|
|
},
|
|
"command_type": {
|
|
"description": "The type of command to be learned.",
|
|
"name": "Command type"
|
|
},
|
|
"device": {
|
|
"description": "Device ID to learn command from.",
|
|
"name": "Device"
|
|
},
|
|
"timeout": {
|
|
"description": "Timeout for the command to be learned.",
|
|
"name": "Timeout"
|
|
}
|
|
},
|
|
"name": "Learn remote command"
|
|
},
|
|
"send_command": {
|
|
"description": "Sends a command or a list of commands to a device.",
|
|
"fields": {
|
|
"command": {
|
|
"description": "A single command or a list of commands to send.",
|
|
"name": "Command"
|
|
},
|
|
"delay_secs": {
|
|
"description": "The time you want to wait in between repeated commands.",
|
|
"name": "Delay seconds"
|
|
},
|
|
"device": {
|
|
"description": "Device ID to send command to.",
|
|
"name": "Device"
|
|
},
|
|
"hold_secs": {
|
|
"description": "The time you want to have it held before the release is send.",
|
|
"name": "Hold seconds"
|
|
},
|
|
"num_repeats": {
|
|
"description": "The number of times you want to repeat the commands.",
|
|
"name": "Repeats"
|
|
}
|
|
},
|
|
"name": "Send remote command"
|
|
},
|
|
"toggle": {
|
|
"description": "Sends the toggle command.",
|
|
"name": "Toggle via remote"
|
|
},
|
|
"turn_off": {
|
|
"description": "Sends the turn off command.",
|
|
"name": "Turn off via remote"
|
|
},
|
|
"turn_on": {
|
|
"description": "Sends the turn on command.",
|
|
"fields": {
|
|
"activity": {
|
|
"description": "Activity ID or activity name to be started.",
|
|
"name": "Activity"
|
|
}
|
|
},
|
|
"name": "Turn on via remote"
|
|
}
|
|
},
|
|
"title": "Remote",
|
|
"triggers": {
|
|
"turned_off": {
|
|
"description": "Triggers when one or more remotes turn off.",
|
|
"fields": {
|
|
"behavior": {
|
|
"name": "[%key:component::remote::common::trigger_behavior_name%]"
|
|
},
|
|
"for": {
|
|
"name": "[%key:component::remote::common::trigger_for_name%]"
|
|
}
|
|
},
|
|
"name": "Remote turned off"
|
|
},
|
|
"turned_on": {
|
|
"description": "Triggers when one or more remotes turn on.",
|
|
"fields": {
|
|
"behavior": {
|
|
"name": "[%key:component::remote::common::trigger_behavior_name%]"
|
|
},
|
|
"for": {
|
|
"name": "[%key:component::remote::common::trigger_for_name%]"
|
|
}
|
|
},
|
|
"name": "Remote turned on"
|
|
}
|
|
}
|
|
}
|