J. Nick Koston
a20d1a357f
Avoid probing ipp printers for unique_id when it is available via mdns ( #99982 )
...
* Avoid probing ipp printers for unique_id when it is available via mdns
We would always probe the device in the ipp flow and than
abort if it was already configured. We avoid the probe for
most printers.
* dry
* coverage
* fix test
* add test for updating host
2023-09-11 22:34:23 -04:00
Chris Talkington
22c1ddef71
Enable strict typing for ipp ( #98792 )
...
enable strict typing for ipp
2023-08-23 12:45:49 -05:00
Franck Nijhof
baef267f33
String formatting and max line length - Part 3 ( #84394 )
2022-12-22 13:35:47 +01:00
Michaël Arnauts
627a208d9f
Use a global const for CONF_UUID ( #84093 )
2022-12-19 12:16:30 +01:00
Marc Mueller
5a046ae7be
Fix implicit Optional [a-n] ( #76720 )
2022-08-13 18:46:34 +02:00
J. Nick Koston
f0f88d56bd
Avoid probing configured ipp devices at discovery ( #60551 )
...
- Each time these were seen by zeroconf, these devices were
probed even if they were already configured. This is expensive
and we want to avoid this when possible
2021-11-29 22:53:42 -06:00
epenet
386520b883
Use ZeroconfServiceInfo in ipp ( #59983 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-19 10:16:34 -06:00
Milan Meulemans
348d7a5622
Remove incorrect use of ConfigType in config flows ( #53544 )
2021-07-27 12:33:17 +02:00
Franck Nijhof
10d6dfd4ae
Clean up connection classes in integrations H-L ( #49891 )
2021-04-30 21:02:53 -10:00
Ruslan Sayfutdinov
183220008d
Rename FlowResultDict to FlowResult ( #49847 )
2021-04-29 13:40:51 +02:00
jan iversen
d52bc2373f
Integrations i* - m*: Rename HomeAssistantType to HomeAssistant. ( #49586 )
2021-04-23 09:55:20 +02:00
Milan Meulemans
48695869f9
Change dict[str, Any] to FlowResultDict ( #49546 )
2021-04-22 17:23:15 -10:00
Marc Mueller
2956eb0902
Update pylint to 2.7.3 ( #48488 )
...
* Update pylint to 2.7.3
* Add class-const-naming-style
* Remove unused-import message
* Additional cleanup
2021-03-29 18:02:56 -10:00
Marc Mueller
283b4abe67
Update typing 09 ( #48059 )
2021-03-18 10:02:00 +01:00
Franck Nijhof
bc1daf1802
None optional hass typing in FlowHandler ( #46462 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-02-13 13:21:37 +01:00
scheric
3d9d90c4c8
Use common string names in ipp config flow ( #41409 )
...
* connection_error->cannot_connect
* connection_error->cannot_connect in config flow
2020-10-07 22:42:01 +02:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 ( #39287 )
2020-08-27 13:56:20 +02:00
Franck Nijhof
3cc94f7d6a
ConfigFlow default discovery without unique ID ( #36754 )
2020-06-15 13:38:38 +02:00
Chris Talkington
be854b7363
Improve ipp unique id parsing ( #35959 )
2020-05-23 20:02:49 +02:00
Chris Talkington
aaf515ef67
Prevent discovery of IPP printers lacking identifier ( #35630 )
2020-05-16 10:48:36 +02:00
Chris Talkington
9d794b820a
Improve IPP Config Flow ( #34212 )
2020-04-16 14:12:26 -07:00
Chris Talkington
e268c5b873
Catch IPPVersionNotSupportedError in IPP ( #34184 )
...
* 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
de3f5e8d69
Use zeroconf UUID if not available via IPP properties ( #33991 )
2020-04-10 15:23:07 -07:00
Chris Talkington
1f7803c541
Catch IPPParseError during config flow ( #33769 )
...
* 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 ( #33610 )
...
* 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
98f68f4798
Add Internet Printing Protocol (IPP) integration ( #32859 )
...
* 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