Commit Graph

20 Commits (ca2b3fcc9e812eb74b3188d8dc2399fec8911041)

Author SHA1 Message Date
Ville Skyttä a396619251
Use disabled_by constants ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-04-23 09:56:42 +02:00
Franck Nijhof 7264c95217
Clean up superfluous integration setup - part 6 () 2021-04-16 09:23:27 -07:00
Erik Montnemery 84226da404
Update tests i-o to use async_get() instead of async_get_registry() () 2021-03-09 14:32:08 +01:00
Franck Nijhof 65cf2fcb6f
Drop asynctest () 2021-01-01 22:31:56 +01:00
scheric 3d9d90c4c8
Use common string names in ipp config flow ()
* connection_error->cannot_connect

* connection_error->cannot_connect in config flow
2020-10-07 22:42:01 +02:00
springstan d2b1918e9c
Drop UNIT_ prefix for percentage constant () 2020-09-05 21:09:14 +02:00
Franck Nijhof 1c2ebdf307
Upgrade black to 20.8b1 () 2020-08-27 13:56:20 +02:00
Chris Talkington 1e685a4a00
Optimize ipp tests ()
* optimize ipp tests

* Update test_config_flow.py
2020-08-02 13:02:47 -10:00
J. Nick Koston 07f3d6ebd8
Fix unmocked setup in ipp tests () 2020-07-03 11:43:13 -07:00
Franck Nijhof 3cc94f7d6a
ConfigFlow default discovery without unique ID () 2020-06-15 13:38:38 +02:00
Chris Talkington be854b7363
Improve ipp unique id parsing () 2020-05-23 20:02:49 +02:00
Chris Talkington aaf515ef67
Prevent discovery of IPP printers lacking identifier () 2020-05-16 10:48:36 +02:00
Paulus Schoutsen ec47216388
Use built-in test helpers on 3.8 () 2020-04-30 13:29:50 -07:00
Chris Talkington b4083dc14f
Use entry ID when IPP printer offers no identifier () 2020-04-30 00:21:53 -07:00
Chris Talkington 9d794b820a
Improve IPP Config Flow () 2020-04-16 14:12:26 -07:00
Chris Talkington e268c5b873
Catch IPPVersionNotSupportedError in IPP ()
* Update config_flow.py

* squash.

* Update test_config_flow.py

* Update config_flow.py

* Update test_config_flow.py

* Update test_config_flow.py

* Update test_config_flow.py

* Update test_config_flow.py

* Update test_config_flow.py
2020-04-14 20:30:41 +02:00
Chris Talkington 1f7803c541
Catch IPPParseError during config flow ()
* Update config_flow.py

* Update strings.json

* Update config_flow.py

* squash.
2020-04-07 09:32:43 -07:00
Chris Talkington 07ae3f9ee9
Use IP addresses instead of mDNS names when IPP discovered ()
* use discovery resolved host rather than mdns host.

* Update __init__.py

* Update test_config_flow.py

* Update __init__.py

* Update test_init.py

* Update test_config_flow.py

* Update test_config_flow.py

* Update __init__.py

* Update __init__.py

* Update __init__.py

* Update test_init.py

* Update test_config_flow.py
2020-04-03 22:36:46 -07:00
Chris Talkington 83fb5e5071
Apply recommendations from IPP review ()
* Update test_config_flow.py

* Update test_config_flow.py

* lint.
2020-03-31 16:40:07 -07:00
Chris Talkington 98f68f4798
Add Internet Printing Protocol (IPP) integration ()
* Create __init__.py

* Create manifest.json

* Update zeroconf.py

* more work on integration

* more work on integration.

* add more sensor tests.

* Update const.py

* Update sensor.py

* more work on ipp.

* Update test_config_flow.py

* more work on ipp.

* Update config_flow.py

* Update config_flow.py
2020-03-30 16:13:47 -07:00