Variables | |
| string | BYTES_RECEIVED = "bytes_received" |
| string | BYTES_SENT = "bytes_sent" |
| string | CONFIG_ENTRY_FORCE_POLL = "force_poll" |
| string | CONFIG_ENTRY_HOST = "host" |
| string | CONFIG_ENTRY_LOCATION = "location" |
| string | CONFIG_ENTRY_MAC_ADDRESS = "mac_address" |
| string | CONFIG_ENTRY_ORIGINAL_UDN = "original_udn" |
| string | CONFIG_ENTRY_ST = "st" |
| string | CONFIG_ENTRY_UDN = "udn" |
| string | DATA_PACKETS = "packets" |
| string | DATA_RATE_PACKETS_PER_SECOND = f"{DATA_PACKETS}/{UnitOfTime.SECONDS}" |
| bool | DEFAULT_CONFIG_ENTRY_FORCE_POLL = False |
| DEFAULT_SCAN_INTERVAL = timedelta(seconds=30).total_seconds() | |
| string | DOMAIN = "upnp" |
| string | DOMAIN_DISCOVERIES = "discoveries" |
| string | IDENTIFIER_HOST = "upnp_host" |
| string | IDENTIFIER_SERIAL_NUMBER = "upnp_serial_number" |
| string | KIBIBYTES_PER_SEC_RECEIVED = "kibibytes_per_sec_received" |
| string | KIBIBYTES_PER_SEC_SENT = "kibibytes_per_sec_sent" |
| LOGGER = logging.getLogger(__package__) | |
| string | PACKETS_PER_SEC_RECEIVED = "packets_per_sec_received" |
| string | PACKETS_PER_SEC_SENT = "packets_per_sec_sent" |
| string | PACKETS_RECEIVED = "packets_received" |
| string | PACKETS_SENT = "packets_sent" |
| string | PORT_MAPPING_NUMBER_OF_ENTRIES_IPV4 = "port_mapping_number_of_entries" |
| string | ROUTER_IP = "ip" |
| string | ROUTER_UPTIME = "uptime" |
| string | ST_IGD_V1 = "urn:schemas-upnp-org:device:InternetGatewayDevice:1" |
| string | ST_IGD_V2 = "urn:schemas-upnp-org:device:InternetGatewayDevice:2" |
| string | TIMESTAMP = "timestamp" |
| string | WAN_STATUS = "wan_status" |
Constants for the IGD component.
| string homeassistant.components.upnp.const.BYTES_RECEIVED = "bytes_received" |
| string homeassistant.components.upnp.const.BYTES_SENT = "bytes_sent" |
| string homeassistant.components.upnp.const.CONFIG_ENTRY_FORCE_POLL = "force_poll" |
| string homeassistant.components.upnp.const.CONFIG_ENTRY_HOST = "host" |
| string homeassistant.components.upnp.const.CONFIG_ENTRY_LOCATION = "location" |
| string homeassistant.components.upnp.const.CONFIG_ENTRY_MAC_ADDRESS = "mac_address" |
| string homeassistant.components.upnp.const.CONFIG_ENTRY_ORIGINAL_UDN = "original_udn" |
| string homeassistant.components.upnp.const.CONFIG_ENTRY_ST = "st" |
| string homeassistant.components.upnp.const.CONFIG_ENTRY_UDN = "udn" |
| string homeassistant.components.upnp.const.DATA_PACKETS = "packets" |
| string homeassistant.components.upnp.const.DATA_RATE_PACKETS_PER_SECOND = f"{DATA_PACKETS}/{UnitOfTime.SECONDS}" |
| bool homeassistant.components.upnp.const.DEFAULT_CONFIG_ENTRY_FORCE_POLL = False |
| homeassistant.components.upnp.const.DEFAULT_SCAN_INTERVAL = timedelta(seconds=30).total_seconds() |
| string homeassistant.components.upnp.const.DOMAIN_DISCOVERIES = "discoveries" |
| string homeassistant.components.upnp.const.IDENTIFIER_HOST = "upnp_host" |
| string homeassistant.components.upnp.const.IDENTIFIER_SERIAL_NUMBER = "upnp_serial_number" |
| string homeassistant.components.upnp.const.KIBIBYTES_PER_SEC_RECEIVED = "kibibytes_per_sec_received" |
| string homeassistant.components.upnp.const.KIBIBYTES_PER_SEC_SENT = "kibibytes_per_sec_sent" |
| homeassistant.components.upnp.const.LOGGER = logging.getLogger(__package__) |
| string homeassistant.components.upnp.const.PACKETS_PER_SEC_RECEIVED = "packets_per_sec_received" |
| string homeassistant.components.upnp.const.PACKETS_PER_SEC_SENT = "packets_per_sec_sent" |
| string homeassistant.components.upnp.const.PACKETS_RECEIVED = "packets_received" |
| string homeassistant.components.upnp.const.PACKETS_SENT = "packets_sent" |
| string homeassistant.components.upnp.const.PORT_MAPPING_NUMBER_OF_ENTRIES_IPV4 = "port_mapping_number_of_entries" |
| string homeassistant.components.upnp.const.ROUTER_UPTIME = "uptime" |
| string homeassistant.components.upnp.const.ST_IGD_V1 = "urn:schemas-upnp-org:device:InternetGatewayDevice:1" |
| string homeassistant.components.upnp.const.ST_IGD_V2 = "urn:schemas-upnp-org:device:InternetGatewayDevice:2" |
| string homeassistant.components.upnp.const.TIMESTAMP = "timestamp" |