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

Functions

def _update_freedns (hass, session, url, auth_token)
 
bool async_setup (HomeAssistant hass, ConfigType config)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 CONFIG_SCHEMA
 
 DEFAULT_INTERVAL = timedelta(minutes=10)
 
string DOMAIN = "freedns"
 
int TIMEOUT = 10
 
string UPDATE_URL = "https://freedns.afraid.org/dynamic/update.php"
 

Detailed Description

Integrate with FreeDNS Dynamic DNS service at freedns.afraid.org.

Function Documentation

◆ _update_freedns()

def homeassistant.components.freedns._update_freedns (   hass,
  session,
  url,
  auth_token 
)
private
Update FreeDNS.

Definition at line 67 of file __init__.py.

◆ async_setup()

bool homeassistant.components.freedns.async_setup ( HomeAssistant  hass,
ConfigType  config 
)
Initialize the FreeDNS component.

Definition at line 42 of file __init__.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 17 of file __init__.py.

◆ CONFIG_SCHEMA

homeassistant.components.freedns.CONFIG_SCHEMA
Initial value:
1 = vol.Schema(
2  {
3  DOMAIN: vol.Schema(
4  {
5  vol.Exclusive(CONF_URL, DOMAIN): cv.string,
6  vol.Exclusive(CONF_ACCESS_TOKEN, DOMAIN): cv.string,
7  vol.Optional(CONF_SCAN_INTERVAL, default=DEFAULT_INTERVAL): vol.All(
8  cv.time_period, cv.positive_timedelta
9  ),
10  }
11  )
12  },
13  extra=vol.ALLOW_EXTRA,
14 )

Definition at line 26 of file __init__.py.

◆ DEFAULT_INTERVAL

homeassistant.components.freedns.DEFAULT_INTERVAL = timedelta(minutes=10)

Definition at line 21 of file __init__.py.

◆ DOMAIN

string homeassistant.components.freedns.DOMAIN = "freedns"

Definition at line 19 of file __init__.py.

◆ TIMEOUT

int homeassistant.components.freedns.TIMEOUT = 10

Definition at line 23 of file __init__.py.

◆ UPDATE_URL

string homeassistant.components.freedns.UPDATE_URL = "https://freedns.afraid.org/dynamic/update.php"

Definition at line 24 of file __init__.py.