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

Variables

string DEFAULT_HOST = "localhost"
 
int DEFAULT_PORT = 4304
 
 DEVICE_KEYS_0_3 = range(4)
 
 DEVICE_KEYS_0_7 = range(8)
 
tuple DEVICE_KEYS_A_B = ("A", "B")
 
dictionary DEVICE_SUPPORT
 
list DEVICE_SUPPORT_OPTIONS = ["28"]
 
string DOMAIN = "onewire"
 
string INPUT_ENTRY_CLEAR_OPTIONS = "clear_device_options"
 
string INPUT_ENTRY_DEVICE_SELECTION = "device_selection"
 
string MANUFACTURER_EDS = "Embedded Data Systems"
 
string MANUFACTURER_HOBBYBOARDS = "Hobby Boards"
 
string MANUFACTURER_MAXIM = "Maxim Integrated"
 
string OPTION_ENTRY_DEVICE_OPTIONS = "device_options"
 
string OPTION_ENTRY_SENSOR_PRECISION = "precision"
 
list PLATFORMS
 
dictionary PRECISION_MAPPING_FAMILY_28
 
string READ_MODE_BOOL = "bool"
 
string READ_MODE_FLOAT = "float"
 
string READ_MODE_INT = "int"
 

Detailed Description

Constants for 1-Wire component.

Variable Documentation

◆ DEFAULT_HOST

string homeassistant.components.onewire.const.DEFAULT_HOST = "localhost"

Definition at line 7 of file const.py.

◆ DEFAULT_PORT

int homeassistant.components.onewire.const.DEFAULT_PORT = 4304

Definition at line 8 of file const.py.

◆ DEVICE_KEYS_0_3

homeassistant.components.onewire.const.DEVICE_KEYS_0_3 = range(4)

Definition at line 12 of file const.py.

◆ DEVICE_KEYS_0_7

homeassistant.components.onewire.const.DEVICE_KEYS_0_7 = range(8)

Definition at line 13 of file const.py.

◆ DEVICE_KEYS_A_B

tuple homeassistant.components.onewire.const.DEVICE_KEYS_A_B = ("A", "B")

Definition at line 14 of file const.py.

◆ DEVICE_SUPPORT

dictionary homeassistant.components.onewire.const.DEVICE_SUPPORT
Initial value:
1 = {
2  "05": (),
3  "10": (),
4  "12": (),
5  "1D": (),
6  "1F": (),
7  "22": (),
8  "26": (),
9  "28": (),
10  "29": (),
11  "30": (),
12  "3A": (),
13  "3B": (),
14  "42": (),
15  "7E": ("EDS0066", "EDS0068"),
16  "A6": (),
17  "EF": ("HB_HUB", "HB_MOISTURE_METER", "HobbyBoards_EF"),
18 }

Definition at line 16 of file const.py.

◆ DEVICE_SUPPORT_OPTIONS

list homeassistant.components.onewire.const.DEVICE_SUPPORT_OPTIONS = ["28"]

Definition at line 35 of file const.py.

◆ DOMAIN

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

Definition at line 10 of file const.py.

◆ INPUT_ENTRY_CLEAR_OPTIONS

string homeassistant.components.onewire.const.INPUT_ENTRY_CLEAR_OPTIONS = "clear_device_options"

Definition at line 47 of file const.py.

◆ INPUT_ENTRY_DEVICE_SELECTION

string homeassistant.components.onewire.const.INPUT_ENTRY_DEVICE_SELECTION = "device_selection"

Definition at line 48 of file const.py.

◆ MANUFACTURER_EDS

string homeassistant.components.onewire.const.MANUFACTURER_EDS = "Embedded Data Systems"

Definition at line 52 of file const.py.

◆ MANUFACTURER_HOBBYBOARDS

string homeassistant.components.onewire.const.MANUFACTURER_HOBBYBOARDS = "Hobby Boards"

Definition at line 51 of file const.py.

◆ MANUFACTURER_MAXIM

string homeassistant.components.onewire.const.MANUFACTURER_MAXIM = "Maxim Integrated"

Definition at line 50 of file const.py.

◆ OPTION_ENTRY_DEVICE_OPTIONS

string homeassistant.components.onewire.const.OPTION_ENTRY_DEVICE_OPTIONS = "device_options"

Definition at line 45 of file const.py.

◆ OPTION_ENTRY_SENSOR_PRECISION

string homeassistant.components.onewire.const.OPTION_ENTRY_SENSOR_PRECISION = "precision"

Definition at line 46 of file const.py.

◆ PLATFORMS

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

Definition at line 58 of file const.py.

◆ PRECISION_MAPPING_FAMILY_28

dictionary homeassistant.components.onewire.const.PRECISION_MAPPING_FAMILY_28
Initial value:
1 = {
2  "temperature": "Default",
3  "temperature9": "9 Bits",
4  "temperature10": "10 Bits",
5  "temperature11": "11 Bits",
6  "temperature12": "12 Bits",
7 }

Definition at line 37 of file const.py.

◆ READ_MODE_BOOL

string homeassistant.components.onewire.const.READ_MODE_BOOL = "bool"

Definition at line 54 of file const.py.

◆ READ_MODE_FLOAT

string homeassistant.components.onewire.const.READ_MODE_FLOAT = "float"

Definition at line 55 of file const.py.

◆ READ_MODE_INT

string homeassistant.components.onewire.const.READ_MODE_INT = "int"

Definition at line 56 of file const.py.