Add discovery support to synology_dsm (#33729)
* Add discovery support to synology_dsm * Remove debug * black * Fix mocks * Merge strings * Move placeholders * add missing placeholders * reorder * use constants in test * Remove CONF_NAME (only displayed in discovery now) * test reduction * Shorten long name * Use name for name but NOT for unique_id, remove CONF_NAME from yaml config * Use Synology for the name for now, hopefully we can use the hostname later * lint * Remove name from strings * remove =None * show login errors at username field * Update tests/components/synology_dsm/test_config_flow.py Co-Authored-By: Quentame <polletquentin74@me.com> * Update tests/components/synology_dsm/test_config_flow.py Co-Authored-By: Quentame <polletquentin74@me.com> * Update homeassistant/components/synology_dsm/const.py Co-authored-by: Quentame <polletquentin74@me.com>
This commit is contained in:
1 parent
3873b23704
commit
078ce6766e
9 files changed
+243
-120
No files matched your search
@@ -70,6 +70,12 @@ SSDP = {
|
||||
"st": "urn:schemas-upnp-org:device:ZonePlayer:1"
|
||||
}
|
||||
],
|
||||
"synology_dsm": [
|
||||
{
|
||||
"deviceType": "urn:schemas-upnp-org:device:Basic:1",
|
||||
"manufacturer": "Synology"
|
||||
}
|
||||
],
|
||||
"wemo": [
|
||||
{
|
||||
"manufacturer": "Belkin International Inc."
|
||||
|
||||
Reference in new issue
Block a user