1
0
mirror of https://github.com/elisspace/core.git synced 2026-08-30 16:12:01 +00:00
Files
core/homeassistant/components/whois/const.py
2021-12-30 22:42:46 +01:00

20 lines
396 B
Python

"""Constants for the Whois integration."""
from __future__ import annotations
import logging
from typing import Final
from homeassistant.const import Platform
DOMAIN: Final = "whois"
PLATFORMS = [Platform.SENSOR]
LOGGER = logging.getLogger(__package__)
DEFAULT_NAME = "Whois"
ATTR_EXPIRES = "expires"
ATTR_NAME_SERVERS = "name_servers"
ATTR_REGISTRAR = "registrar"
ATTR_UPDATED = "updated"