Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.geonetnz_quakes.config_flow Namespace Reference

Classes

class  GeonetnzQuakesFlowHandler
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 DATA_SCHEMA
 

Detailed Description

Config flow to configure the GeoNet NZ Quakes integration.

Variable Documentation

◆ _LOGGER

homeassistant.components.geonetnz_quakes.config_flow._LOGGER = logging.getLogger(__name__)
private

Definition at line 36 of file config_flow.py.

◆ DATA_SCHEMA

homeassistant.components.geonetnz_quakes.config_flow.DATA_SCHEMA
Initial value:
1 = vol.Schema(
2  {
3  vol.Optional(CONF_MMI, default=DEFAULT_MMI): vol.All(
4  vol.Coerce(int), vol.Range(min=-1, max=8)
5  ),
6  vol.Optional(CONF_RADIUS, default=DEFAULT_RADIUS): cv.positive_int,
7  }
8 )

Definition at line 27 of file config_flow.py.