Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.ruuvi_gateway.schemata Namespace Reference

Functions

vol.Schema get_config_schema_with_default_host (str host)
 

Variables

 CONFIG_SCHEMA
 

Detailed Description

Schemata for ruuvi_gateway.

Function Documentation

◆ get_config_schema_with_default_host()

vol.Schema homeassistant.components.ruuvi_gateway.schemata.get_config_schema_with_default_host ( str  host)
Return a config schema with a default host.

Definition at line 17 of file schemata.py.

Variable Documentation

◆ CONFIG_SCHEMA

homeassistant.components.ruuvi_gateway.schemata.CONFIG_SCHEMA
Initial value:
1 = vol.Schema(
2  {
3  vol.Required(CONF_HOST): str,
4  vol.Required(CONF_TOKEN): str,
5  }
6 )

Definition at line 9 of file schemata.py.