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

Namespaces

 config_flow
 
 const
 
 sensor
 

Classes

class  GeonetnzVolcanoFeedEntityManager
 

Functions

bool async_setup (HomeAssistant hass, ConfigType config)
 
bool async_setup_entry (HomeAssistant hass, ConfigEntry config_entry)
 
bool async_unload_entry (HomeAssistant hass, ConfigEntry entry)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 CONFIG_SCHEMA
 

Detailed Description

The GeoNet NZ Volcano integration.

Function Documentation

◆ async_setup()

bool homeassistant.components.geonetnz_volcano.async_setup ( HomeAssistant  hass,
ConfigType  config 
)
Set up the GeoNet NZ Volcano component.

Definition at line 56 of file __init__.py.

◆ async_setup_entry()

bool homeassistant.components.geonetnz_volcano.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry 
)
Set up the GeoNet NZ Volcano component as config entry.

Definition at line 87 of file __init__.py.

◆ async_unload_entry()

bool homeassistant.components.geonetnz_volcano.async_unload_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Unload an GeoNet NZ Volcano component config entry.

Definition at line 106 of file __init__.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 37 of file __init__.py.

◆ CONFIG_SCHEMA

homeassistant.components.geonetnz_volcano.CONFIG_SCHEMA
Initial value:
1 = vol.Schema(
2  {
3  DOMAIN: vol.Schema(
4  {
5  vol.Optional(CONF_LATITUDE): cv.latitude,
6  vol.Optional(CONF_LONGITUDE): cv.longitude,
7  vol.Optional(CONF_RADIUS, default=DEFAULT_RADIUS): vol.Coerce(float),
8  vol.Optional(
9  CONF_SCAN_INTERVAL, default=DEFAULT_SCAN_INTERVAL
10  ): cv.time_period,
11  }
12  )
13  },
14  extra=vol.ALLOW_EXTRA,
15 )

Definition at line 39 of file __init__.py.