Commit graph

12 commits

Author SHA1 Message Date
Xuefer
3a5ee00081
Merge onvif host/auth step, allow skipping scan () 2021-06-28 16:39:18 +02:00
Xuefer
2a47805b4a
Close onvif device cleanly ()
* onvif: close device cleanly

Signed-off-by: Xuefer <xuefer@gmail.com>

* onvif: Too many nested blocks

Signed-off-by: Xuefer <xuefer@gmail.com>

* update tests to cover onvif config_flow

Signed-off-by: Xuefer <xuefer@gmail.com>
2021-05-24 15:27:40 -04:00
Franck Nijhof
c68b259bd3
Cleanup of unused connection_class logic ()
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2021-04-29 23:12:58 +02:00
Ville Skyttä
153d6e891e
Use config_entries.SOURCE_* constants () 2021-04-25 11:27:40 +02:00
Franck Nijhof
65cf2fcb6f
Drop asynctest () 2021-01-01 22:31:56 +01:00
Jason Hunter
5a397312e7
Update ONVIF to Zeep 4.0/httpx ()
* convert to httpx and zeep 4.0

* fix tests

* add onvif-zeep-async to manifest

* pin zeep to fool CI cache

* address review comments
2020-10-18 23:29:53 -04:00
Paulus Schoutsen
4899d7628a
Fix flaky ONVIF test () 2020-10-15 09:19:08 +02:00
Diefferson Koderer Môro
dde465da48
Use common strings for Onvif config flow ()
* Use common strings for Onvif config flow

* Fix tests

* Update homeassistant/components/onvif/strings.json

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-05 15:27:48 +02:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 () 2020-08-27 13:56:20 +02:00
Jason Hunter
bd8848e57a
Fix ONVIF config entry unique ID ()
* fallback to device serial number if no mac available

* make password optional to fix 

* update tests to reflect new flow

* fix snake case and AsyncMock

* add comments around why weird things are being done
2020-05-24 21:50:50 +02:00
Jason Hunter
19734e7b2c
Refactor ONVIF () 2020-05-06 09:29:59 -07:00
Jason Hunter
850b5cb02b
Config flow for ONVIF () 2020-04-30 23:15:40 -07:00