Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.flume.const Namespace Reference

Variables

 _LOGGER = logging.getLogger(__package__)
 
string BASE_TOKEN_FILENAME = "FLUME_TOKEN_FILE"
 
string BRIDGE_NOTIFICATION_KEY = "connected"
 
string BRIDGE_NOTIFICATION_RULE = "Bridge Disconnection"
 
string CONF_TOKEN_FILE = "token_filename"
 
string DEFAULT_NAME = "Flume Sensor"
 
 DEVICE_CONNECTION_SCAN_INTERVAL = timedelta(minutes=60)
 
 DEVICE_SCAN_INTERVAL = timedelta(minutes=1)
 
string DOMAIN = "flume"
 
string FLUME_AUTH = "flume_auth"
 
string FLUME_DEVICES = "devices"
 
string FLUME_HTTP_SESSION = "http_session"
 
string FLUME_NOTIFICATIONS_COORDINATOR = "notifications_coordinator"
 
int FLUME_TYPE_BRIDGE = 1
 
int FLUME_TYPE_SENSOR = 2
 
string KEY_DEVICE_ID = "id"
 
string KEY_DEVICE_LOCATION = "location"
 
string KEY_DEVICE_LOCATION_NAME = "name"
 
string KEY_DEVICE_LOCATION_TIMEZONE = "tz"
 
string KEY_DEVICE_TYPE = "type"
 
string NOTIFICATION_BRIDGE_DISCONNECT = "Bridge Disconnection"
 
string NOTIFICATION_HIGH_FLOW = "High Flow Alert"
 
string NOTIFICATION_LEAK_DETECTED = "Flume Smart Leak Alert"
 
string NOTIFICATION_LOW_BATTERY = "Low Battery"
 
 NOTIFICATION_SCAN_INTERVAL = timedelta(minutes=5)
 
list PLATFORMS
 

Detailed Description

The Flume component.

Variable Documentation

◆ _LOGGER

homeassistant.components.flume.const._LOGGER = logging.getLogger(__package__)
private

Definition at line 24 of file const.py.

◆ BASE_TOKEN_FILENAME

string homeassistant.components.flume.const.BASE_TOKEN_FILENAME = "FLUME_TOKEN_FILE"

Definition at line 36 of file const.py.

◆ BRIDGE_NOTIFICATION_KEY

string homeassistant.components.flume.const.BRIDGE_NOTIFICATION_KEY = "connected"

Definition at line 48 of file const.py.

◆ BRIDGE_NOTIFICATION_RULE

string homeassistant.components.flume.const.BRIDGE_NOTIFICATION_RULE = "Bridge Disconnection"

Definition at line 49 of file const.py.

◆ CONF_TOKEN_FILE

string homeassistant.components.flume.const.CONF_TOKEN_FILE = "token_filename"

Definition at line 35 of file const.py.

◆ DEFAULT_NAME

string homeassistant.components.flume.const.DEFAULT_NAME = "Flume Sensor"

Definition at line 17 of file const.py.

◆ DEVICE_CONNECTION_SCAN_INTERVAL

homeassistant.components.flume.const.DEVICE_CONNECTION_SCAN_INTERVAL = timedelta(minutes=60)

Definition at line 22 of file const.py.

◆ DEVICE_SCAN_INTERVAL

homeassistant.components.flume.const.DEVICE_SCAN_INTERVAL = timedelta(minutes=1)

Definition at line 21 of file const.py.

◆ DOMAIN

string homeassistant.components.flume.const.DOMAIN = "flume"

Definition at line 10 of file const.py.

◆ FLUME_AUTH

string homeassistant.components.flume.const.FLUME_AUTH = "flume_auth"

Definition at line 30 of file const.py.

◆ FLUME_DEVICES

string homeassistant.components.flume.const.FLUME_DEVICES = "devices"

Definition at line 32 of file const.py.

◆ FLUME_HTTP_SESSION

string homeassistant.components.flume.const.FLUME_HTTP_SESSION = "http_session"

Definition at line 31 of file const.py.

◆ FLUME_NOTIFICATIONS_COORDINATOR

string homeassistant.components.flume.const.FLUME_NOTIFICATIONS_COORDINATOR = "notifications_coordinator"

Definition at line 33 of file const.py.

◆ FLUME_TYPE_BRIDGE

int homeassistant.components.flume.const.FLUME_TYPE_BRIDGE = 1

Definition at line 26 of file const.py.

◆ FLUME_TYPE_SENSOR

int homeassistant.components.flume.const.FLUME_TYPE_SENSOR = 2

Definition at line 27 of file const.py.

◆ KEY_DEVICE_ID

string homeassistant.components.flume.const.KEY_DEVICE_ID = "id"

Definition at line 40 of file const.py.

◆ KEY_DEVICE_LOCATION

string homeassistant.components.flume.const.KEY_DEVICE_LOCATION = "location"

Definition at line 41 of file const.py.

◆ KEY_DEVICE_LOCATION_NAME

string homeassistant.components.flume.const.KEY_DEVICE_LOCATION_NAME = "name"

Definition at line 42 of file const.py.

◆ KEY_DEVICE_LOCATION_TIMEZONE

string homeassistant.components.flume.const.KEY_DEVICE_LOCATION_TIMEZONE = "tz"

Definition at line 43 of file const.py.

◆ KEY_DEVICE_TYPE

string homeassistant.components.flume.const.KEY_DEVICE_TYPE = "type"

Definition at line 39 of file const.py.

◆ NOTIFICATION_BRIDGE_DISCONNECT

string homeassistant.components.flume.const.NOTIFICATION_BRIDGE_DISCONNECT = "Bridge Disconnection"

Definition at line 47 of file const.py.

◆ NOTIFICATION_HIGH_FLOW

string homeassistant.components.flume.const.NOTIFICATION_HIGH_FLOW = "High Flow Alert"

Definition at line 46 of file const.py.

◆ NOTIFICATION_LEAK_DETECTED

string homeassistant.components.flume.const.NOTIFICATION_LEAK_DETECTED = "Flume Smart Leak Alert"

Definition at line 50 of file const.py.

◆ NOTIFICATION_LOW_BATTERY

string homeassistant.components.flume.const.NOTIFICATION_LOW_BATTERY = "Low Battery"

Definition at line 51 of file const.py.

◆ NOTIFICATION_SCAN_INTERVAL

homeassistant.components.flume.const.NOTIFICATION_SCAN_INTERVAL = timedelta(minutes=5)

Definition at line 20 of file const.py.

◆ PLATFORMS

list homeassistant.components.flume.const.PLATFORMS
Initial value:
1 = [
2  Platform.BINARY_SENSOR,
3  Platform.SENSOR,
4 ]

Definition at line 12 of file const.py.