2021-12-20 19:08:35 +00:00
{
"config" : {
"step" : {
"user" : {
"data" : {
"host" : "[%key:common::config_flow::data::host%]" ,
"adbkey" : "Path to your ADB key file (leave empty to auto generate)" ,
"adb_server_ip" : "IP address of the ADB server (leave empty to not use)" ,
"adb_server_port" : "Port of the ADB server" ,
"device_class" : "The type of device" ,
"port" : "[%key:common::config_flow::data::port%]"
}
}
} ,
"error" : {
"cannot_connect" : "[%key:common::config_flow::error::cannot_connect%]" ,
"invalid_host" : "[%key:common::config_flow::error::invalid_host%]" ,
"adbkey_not_file" : "ADB key file not found" ,
"key_and_server" : "Only provide ADB Key or ADB Server" ,
"unknown" : "[%key:common::config_flow::error::unknown%]"
} ,
"abort" : {
"already_configured" : "[%key:common::config_flow::abort::already_configured_device%]" ,
"invalid_unique_id" : "Impossible to determine a valid unique id for the device"
}
} ,
"options" : {
"step" : {
"init" : {
"data" : {
"apps" : "Configure applications list" ,
2021-12-23 22:43:30 +00:00
"get_sources" : "Retrieve the running apps as the list of sources" ,
"exclude_unnamed_apps" : "Exclude apps with unknown name from the sources list" ,
"screencap" : "Use screen capture for album art" ,
2021-12-20 19:08:35 +00:00
"state_detection_rules" : "Configure state detection rules" ,
2021-12-23 22:43:30 +00:00
"turn_off_command" : "ADB shell turn off command (leave empty for default)" ,
"turn_on_command" : "ADB shell turn on command (leave empty for default)"
2021-12-20 19:08:35 +00:00
}
} ,
"apps" : {
2023-04-02 18:22:16 +00:00
"title" : "Configure Android Apps" ,
2021-12-20 19:08:35 +00:00
"description" : "Configure application id {app_id}" ,
"data" : {
"app_name" : "Application Name" ,
"app_id" : "Application ID" ,
"app_delete" : "Check to delete this application"
}
} ,
"rules" : {
2023-04-02 18:22:16 +00:00
"title" : "Configure Android state detection rules" ,
2021-12-20 19:08:35 +00:00
"description" : "Configure detection rule for application id {rule_id}" ,
"data" : {
2023-07-13 15:52:50 +00:00
"rule_id" : "[%key:component::androidtv::options::step::apps::data::app_id%]" ,
2021-12-20 19:08:35 +00:00
"rule_values" : "List of state detection rules (see documentation)" ,
"rule_delete" : "Check to delete this rule"
}
}
} ,
"error" : {
"invalid_det_rules" : "Invalid state detection rules"
}
2023-07-11 21:04:27 +00:00
} ,
"services" : {
"adb_command" : {
"name" : "ADB command" ,
"description" : "Sends an ADB command to an Android / Fire TV device." ,
"fields" : {
"command" : {
"name" : "Command" ,
"description" : "Either a key command or an ADB shell command."
}
}
} ,
"download" : {
"name" : "Download" ,
"description" : "Downloads a file from your Android / Fire TV device to your Home Assistant instance." ,
"fields" : {
"device_path" : {
"name" : "Device path" ,
"description" : "The filepath on the Android / Fire TV device."
} ,
"local_path" : {
"name" : "Local path" ,
"description" : "The filepath on your Home Assistant instance."
}
}
} ,
"upload" : {
"name" : "Upload" ,
"description" : "Uploads a file from your Home Assistant instance to an Android / Fire TV device." ,
"fields" : {
"device_path" : {
2023-07-13 15:52:50 +00:00
"name" : "[%key:component::androidtv::services::download::fields::device_path::name%]" ,
"description" : "[%key:component::androidtv::services::download::fields::device_path::description%]"
2023-07-11 21:04:27 +00:00
} ,
"local_path" : {
2023-07-13 15:52:50 +00:00
"name" : "[%key:component::androidtv::services::download::fields::local_path::name%]" ,
"description" : "[%key:component::androidtv::services::download::fields::local_path::description%]"
2023-07-11 21:04:27 +00:00
}
}
} ,
"learn_sendevent" : {
"name" : "Learn sendevent" ,
"description" : "Translates a key press on a remote into ADB 'sendevent' commands. You must press one button on the remote within 8 seconds of calling this service."
}
2021-12-20 19:08:35 +00:00
}
}