{ "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%]" } } }, "services": { "delete_command": { "description": "Deletes a command or a list of commands from the 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 command" }, "learn_command": { "description": "Learns a command or a 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 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 command" }, "toggle": { "description": "Sends the toggle command.", "name": "[%key:common::action::toggle%]" }, "turn_off": { "description": "Sends the turn off command.", "name": "[%key:common::action::turn_off%]" }, "turn_on": { "description": "Sends the turn on command.", "fields": { "activity": { "description": "Activity ID or activity name to be started.", "name": "Activity" } }, "name": "[%key:common::action::turn_on%]" } }, "title": "Remote" }