Update vizio host check to handle entries that don't have port (#31463)

* Update vizio host check to handle entries that don't have port

* add comment explaining no_port test for future

* remove _name_is_same function and support user updating name in config

* Update strings.json

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
This commit is contained in:
Raman GuptaandPaulus Schoutsen authored and GitHub committed 2020-02-04 11:31:03 -08:00
1 parent 8af9585f12
commit 1efea50654
3 files changed
+78 -12

No files matched your search

+2 -2
View File
@@ -21,7 +21,7 @@
"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."
"updated_entry": "This entry has already been setup but the name and/or options defined in the config do not match the previously imported config so the config entry has been updated accordingly."
}
},
"options": {
@@ -35,4 +35,4 @@
}
}
}
}
}