* add missing tests * readd removed test * add zeroconf discovery support for vizio integration * no mock_coro_func needed * add reasonable timeout and don't log exceptions from pyvizio due to timeout * add test to test options update and bump pyvizio to avoid timeout issues * update requirements_* * fix gaps in coverage * change return hint for async_setup_entry * use source variables instead of strings * only get unique ID if about to create entry * update based on review * Revert "update based on review" This reverts commit 0d612a90eb7d02c92061f902973e527267e3110a. * f-string * fix last review * revert cleanup changes to simplify PR * remove unnecessary ConfigFlow object variables to simplify logic * revert cleanup changes to make review easier, noted for future cleanup * revert cleanup changes to make review easier, noted for future cleanup * move zeroconf service type constant to test module
38 lines
1.8 KiB
JSON
38 lines
1.8 KiB
JSON
{
|
|
"config": {
|
|
"title": "Vizio SmartCast",
|
|
"step": {
|
|
"user": {
|
|
"title": "Setup Vizio SmartCast Client",
|
|
"data": {
|
|
"name": "Name",
|
|
"host": "<Host/IP>:<Port>",
|
|
"device_class": "Device Type",
|
|
"access_token": "Access Token"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"host_exists": "Vizio device with specified host already configured.",
|
|
"name_exists": "Vizio device with specified name already configured.",
|
|
"cant_connect": "Could not connect to the device. [Review the docs](https://www.home-assistant.io/integrations/vizio/) and re-verify that:\n- The device is powered on\n- The device is connected to the network\n- The values you filled in are accurate\nbefore attempting to resubmit.",
|
|
"tv_needs_token": "When Device Type is `tv` then a valid Access Token is needed."
|
|
},
|
|
"abort": {
|
|
"already_setup": "This entry has already been setup.",
|
|
"already_setup_with_diff_host_and_name": "This entry appears to have already been setup with a different host and name based on its serial number. Please remove any old entries from your configuration.yaml and from the Integrations menu before reattempting to add this device.",
|
|
"updated_options": "This entry has already been setup but the options defined in the config do not match the previously imported options values so the config entry has been updated accordingly."
|
|
}
|
|
},
|
|
"options": {
|
|
"title": "Update Vizo SmartCast Options",
|
|
"step": {
|
|
"init": {
|
|
"title": "Update Vizo SmartCast Options",
|
|
"data": {
|
|
"volume_step": "Volume Step Size"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |