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:
parent
0e3c1dc031
commit
98f68f4798
17 changed files with 1165 additions and 0 deletions
25
homeassistant/components/ipp/const.py
Normal file
25
homeassistant/components/ipp/const.py
Normal file
|
@ -0,0 +1,25 @@
|
|||
"""Constants for the IPP integration."""
|
||||
|
||||
# Integration domain
|
||||
DOMAIN = "ipp"
|
||||
|
||||
# Attributes
|
||||
ATTR_COMMAND_SET = "command_set"
|
||||
ATTR_IDENTIFIERS = "identifiers"
|
||||
ATTR_INFO = "info"
|
||||
ATTR_LOCATION = "location"
|
||||
ATTR_MANUFACTURER = "manufacturer"
|
||||
ATTR_MARKER_TYPE = "marker_type"
|
||||
ATTR_MARKER_LOW_LEVEL = "marker_low_level"
|
||||
ATTR_MARKER_HIGH_LEVEL = "marker_high_level"
|
||||
ATTR_MODEL = "model"
|
||||
ATTR_SERIAL = "serial"
|
||||
ATTR_SOFTWARE_VERSION = "sw_version"
|
||||
ATTR_STATE_MESSAGE = "state_message"
|
||||
ATTR_STATE_REASON = "state_reason"
|
||||
ATTR_URI_SUPPORTED = "uri_supported"
|
||||
|
||||
# Config Keys
|
||||
CONF_BASE_PATH = "base_path"
|
||||
CONF_TLS = "tls"
|
||||
CONF_UUID = "uuid"
|
Loading…
Add table
Add a link
Reference in a new issue