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
This commit is contained in:
Chris Talkington authored and GitHub committed 2020-03-30 16:13:47 -07:00
1 parent 0e3c1dc031
commit 98f68f4798
17 files changed
+1165

No files matched your search

+32
View File
@@ -0,0 +1,32 @@
{
"config": {
"title": "Internet Printing Protocol (IPP)",
"flow_title": "Printer: {name}",
"step": {
"user": {
"title": "Link your printer",
"description": "Set up your printer via Internet Printing Protocol (IPP) to integrate with Home Assistant.",
"data": {
"host": "Host or IP address",
"port": "Port",
"base_path": "Relative path to the printer",
"ssl": "Printer supports communication over SSL/TLS",
"verify_ssl": "Printer uses a proper SSL certificate"
}
},
"zeroconf_confirm": {
"description": "Do you want to add the printer named `{name}` to Home Assistant?",
"title": "Discovered printer"
}
},
"error": {
"connection_error": "Failed to connect to printer.",
"connection_upgrade": "Failed to connect to printer. Please try again with SSL/TLS option checked."
},
"abort": {
"already_configured": "This printer is already configured.",
"connection_error": "Failed to connect to printer.",
"connection_upgrade": "Failed to connect to printer due to connection upgrade being required."
}
}
}