Home Assistant Unofficial Reference
2024.12.1
const.py
Go to the documentation of this file.
1
"""Constants for the Whois integration."""
2
3
from
__future__
import
annotations
4
5
from
datetime
import
timedelta
6
import
logging
7
from
typing
import
Final
8
9
from
homeassistant.const
import
Platform
10
11
DOMAIN: Final =
"whois"
12
PLATFORMS = [Platform.SENSOR]
13
14
LOGGER = logging.getLogger(__package__)
15
16
SCAN_INTERVAL =
timedelta
(hours=24)
17
18
ATTR_EXPIRES =
"expires"
19
ATTR_NAME_SERVERS =
"name_servers"
20
ATTR_REGISTRAR =
"registrar"
21
ATTR_UPDATED =
"updated"
homeassistant.components.uptimerobot.const.timedelta
timedelta
Definition:
const.py:14
homeassistant.const
Definition:
const.py:1
core
homeassistant
components
whois
const.py
Generated by
1.9.1