Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.namecheapdns Namespace Reference

Functions

def _update_namecheapdns (session, host, domain, password)
 
bool async_setup (HomeAssistant hass, ConfigType config)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 CONFIG_SCHEMA
 
string DOMAIN = "namecheapdns"
 
 INTERVAL = timedelta(minutes=5)
 
string UPDATE_URL = "https://dynamicdns.park-your-domain.com/update"
 

Detailed Description

Support for namecheap DNS services.

Function Documentation

◆ _update_namecheapdns()

def homeassistant.components.namecheapdns._update_namecheapdns (   session,
  host,
  domain,
  password 
)
private
Update namecheap DNS entry.

Definition at line 60 of file __init__.py.

◆ async_setup()

bool homeassistant.components.namecheapdns.async_setup ( HomeAssistant  hass,
ConfigType  config 
)
Initialize the namecheap DNS component.

Definition at line 38 of file __init__.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.namecheapdns._LOGGER = logging.getLogger(__name__)
private

Definition at line 16 of file __init__.py.

◆ CONFIG_SCHEMA

homeassistant.components.namecheapdns.CONFIG_SCHEMA
Initial value:
1 = vol.Schema(
2  {
3  DOMAIN: vol.Schema(
4  {
5  vol.Required(CONF_DOMAIN): cv.string,
6  vol.Required(CONF_PASSWORD): cv.string,
7  vol.Optional(CONF_HOST, default="@"): cv.string,
8  }
9  )
10  },
11  extra=vol.ALLOW_EXTRA,
12 )

Definition at line 24 of file __init__.py.

◆ DOMAIN

string homeassistant.components.namecheapdns.DOMAIN = "namecheapdns"

Definition at line 18 of file __init__.py.

◆ INTERVAL

homeassistant.components.namecheapdns.INTERVAL = timedelta(minutes=5)

Definition at line 20 of file __init__.py.

◆ UPDATE_URL

string homeassistant.components.namecheapdns.UPDATE_URL = "https://dynamicdns.park-your-domain.com/update"

Definition at line 22 of file __init__.py.