Use UsbServiceInfo in zwave-js (#60267)
Co-authored-by: epenet <epenet@users.noreply.github.com>
This commit is contained in:
parent
3bf12fcd29
commit
5a8cbb8cab
2 changed files with 31 additions and 30 deletions
|
@ -345,12 +345,12 @@ class ConfigFlow(BaseZwaveJSFlow, config_entries.ConfigFlow, domain=DOMAIN):
|
|||
if self._async_in_progress():
|
||||
return self.async_abort(reason="already_in_progress")
|
||||
|
||||
vid = discovery_info["vid"]
|
||||
pid = discovery_info["pid"]
|
||||
serial_number = discovery_info["serial_number"]
|
||||
device = discovery_info["device"]
|
||||
manufacturer = discovery_info["manufacturer"]
|
||||
description = discovery_info["description"]
|
||||
vid = discovery_info.vid
|
||||
pid = discovery_info.pid
|
||||
serial_number = discovery_info.serial_number
|
||||
device = discovery_info.device
|
||||
manufacturer = discovery_info.manufacturer
|
||||
description = discovery_info.description
|
||||
# Zooz uses this vid/pid, but so do 2652 sticks
|
||||
if vid == "10C4" and pid == "EA60" and description and "2652" in description:
|
||||
return self.async_abort(reason="not_zwave_device")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue