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

Variables

string CONF_ARDUINO_INSTANCE_ID = "arduino_instance_id"
 
string CONF_ARDUINO_WAIT = "arduino_wait"
 
string CONF_DIFFERENTIAL = "differential"
 
string CONF_INITIAL_STATE = "initial"
 
string CONF_NEGATE_STATE = "negate"
 
string CONF_PIN_MODE = "pin_mode"
 
string CONF_PINS = "pins"
 
dictionary CONF_PLATFORM_MAP
 
string CONF_SAMPLING_INTERVAL = "sampling_interval"
 
string CONF_SERIAL_BAUD_RATE = "serial_baud_rate"
 
string CONF_SERIAL_PORT = "serial_port"
 
string CONF_SLEEP_TUNE = "sleep_tune"
 
string DOMAIN = "firmata"
 
 Final
 
string FIRMATA_MANUFACTURER = "Firmata"
 
string PIN_MODE_ANALOG = "ANALOG"
 
string PIN_MODE_INPUT = "INPUT"
 
string PIN_MODE_OUTPUT = "OUTPUT"
 
string PIN_MODE_PULLUP = "PULLUP"
 
string PIN_MODE_PWM = "PWM"
 

Detailed Description

Constants for the Firmata component.

Variable Documentation

◆ CONF_ARDUINO_INSTANCE_ID

string homeassistant.components.firmata.const.CONF_ARDUINO_INSTANCE_ID = "arduino_instance_id"

Definition at line 13 of file const.py.

◆ CONF_ARDUINO_WAIT

string homeassistant.components.firmata.const.CONF_ARDUINO_WAIT = "arduino_wait"

Definition at line 14 of file const.py.

◆ CONF_DIFFERENTIAL

string homeassistant.components.firmata.const.CONF_DIFFERENTIAL = "differential"

Definition at line 15 of file const.py.

◆ CONF_INITIAL_STATE

string homeassistant.components.firmata.const.CONF_INITIAL_STATE = "initial"

Definition at line 16 of file const.py.

◆ CONF_NEGATE_STATE

string homeassistant.components.firmata.const.CONF_NEGATE_STATE = "negate"

Definition at line 17 of file const.py.

◆ CONF_PIN_MODE

string homeassistant.components.firmata.const.CONF_PIN_MODE = "pin_mode"

Definition at line 19 of file const.py.

◆ CONF_PINS

string homeassistant.components.firmata.const.CONF_PINS = "pins"

Definition at line 18 of file const.py.

◆ CONF_PLATFORM_MAP

dictionary homeassistant.components.firmata.const.CONF_PLATFORM_MAP
Initial value:
1 = {
2  CONF_BINARY_SENSORS: Platform.BINARY_SENSOR,
3  CONF_LIGHTS: Platform.LIGHT,
4  CONF_SENSORS: Platform.SENSOR,
5  CONF_SWITCHES: Platform.SWITCH,
6 }

Definition at line 33 of file const.py.

◆ CONF_SAMPLING_INTERVAL

string homeassistant.components.firmata.const.CONF_SAMPLING_INTERVAL = "sampling_interval"

Definition at line 27 of file const.py.

◆ CONF_SERIAL_BAUD_RATE

string homeassistant.components.firmata.const.CONF_SERIAL_BAUD_RATE = "serial_baud_rate"

Definition at line 28 of file const.py.

◆ CONF_SERIAL_PORT

string homeassistant.components.firmata.const.CONF_SERIAL_PORT = "serial_port"

Definition at line 29 of file const.py.

◆ CONF_SLEEP_TUNE

string homeassistant.components.firmata.const.CONF_SLEEP_TUNE = "sleep_tune"

Definition at line 30 of file const.py.

◆ DOMAIN

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

Definition at line 31 of file const.py.

◆ Final

homeassistant.components.firmata.const.Final

Definition at line 25 of file const.py.

◆ FIRMATA_MANUFACTURER

string homeassistant.components.firmata.const.FIRMATA_MANUFACTURER = "Firmata"

Definition at line 32 of file const.py.

◆ PIN_MODE_ANALOG

string homeassistant.components.firmata.const.PIN_MODE_ANALOG = "ANALOG"

Definition at line 20 of file const.py.

◆ PIN_MODE_INPUT

string homeassistant.components.firmata.const.PIN_MODE_INPUT = "INPUT"

Definition at line 23 of file const.py.

◆ PIN_MODE_OUTPUT

string homeassistant.components.firmata.const.PIN_MODE_OUTPUT = "OUTPUT"

Definition at line 21 of file const.py.

◆ PIN_MODE_PULLUP

string homeassistant.components.firmata.const.PIN_MODE_PULLUP = "PULLUP"

Definition at line 24 of file const.py.

◆ PIN_MODE_PWM

string homeassistant.components.firmata.const.PIN_MODE_PWM = "PWM"

Definition at line 22 of file const.py.