Functions | |
| def | _bool_schema (name) |
| def | _byte_schema (name) |
| def | _float_schema (name) |
| def | _list_schema (name, values) |
| def | _multi_select_schema (name, values) |
| def | _read_only_schema (name, value) |
| def | get_properties (Device device, show_advanced=False) |
| def | get_schema (prop, name, groups) |
| def | property_to_dict (prop) |
| def | update_property (device, prop_name, value) |
| None | websocket_change_properties_record (HomeAssistant hass, websocket_api.connection.ActiveConnection connection, dict[str, Any] msg) |
| None | websocket_get_properties (HomeAssistant hass, websocket_api.connection.ActiveConnection connection, dict[str, Any] msg) |
| None | websocket_load_properties (HomeAssistant hass, websocket_api.connection.ActiveConnection connection, dict[str, Any] msg) |
| None | websocket_reset_properties (HomeAssistant hass, websocket_api.connection.ActiveConnection connection, dict[str, Any] msg) |
| None | websocket_write_properties (HomeAssistant hass, websocket_api.connection.ActiveConnection connection, dict[str, Any] msg) |
Variables | |
| list | RAMP_RATE_LIST = [str(seconds) for seconds in RAMP_RATE_SECONDS] |
| RAMP_RATE_SECONDS = list(dict.fromkeys(RAMP_RATES_SEC)) | |
| list | RELAY_MODES = [str(RelayMode(v)).lower() for v in list(RelayMode)] |
| string | SHOW_ADVANCED = "show_advanced" |
| list | TOGGLE_MODES = [str(ToggleMode(v)).lower() for v in list(ToggleMode)] |
Property update methods and schemas.
|
private |
Definition at line 45 of file properties.py.
|
private |
Definition at line 49 of file properties.py.
|
private |
Definition at line 53 of file properties.py.
|
private |
Definition at line 57 of file properties.py.
|
private |
Definition at line 64 of file properties.py.
|
private |
Return a constant value schema.
Definition at line 71 of file properties.py.
| def homeassistant.components.insteon.api.properties.get_properties | ( | Device | device, |
show_advanced = False |
|||
| ) |
Get the properties of an Insteon device and return the records and schema.
Definition at line 101 of file properties.py.
| def homeassistant.components.insteon.api.properties.get_schema | ( | prop, | |
| name, | |||
| groups | |||
| ) |
Return the correct schema type.
Definition at line 76 of file properties.py.
| def homeassistant.components.insteon.api.properties.property_to_dict | ( | prop | ) |
Return a property data row.
Definition at line 136 of file properties.py.
| def homeassistant.components.insteon.api.properties.update_property | ( | device, | |
| prop_name, | |||
| value | |||
| ) |
Update the value of a device property.
Definition at line 145 of file properties.py.
| None homeassistant.components.insteon.api.properties.websocket_change_properties_record | ( | HomeAssistant | hass, |
| websocket_api.connection.ActiveConnection | connection, | ||
| dict[str, Any] | msg | ||
| ) |
Add the default All-Link Database records for an Insteon device.
Definition at line 192 of file properties.py.
| None homeassistant.components.insteon.api.properties.websocket_get_properties | ( | HomeAssistant | hass, |
| websocket_api.connection.ActiveConnection | connection, | ||
| dict[str, Any] | msg | ||
| ) |
Add the default All-Link Database records for an Insteon device.
Definition at line 167 of file properties.py.
| None homeassistant.components.insteon.api.properties.websocket_load_properties | ( | HomeAssistant | hass, |
| websocket_api.connection.ActiveConnection | connection, | ||
| dict[str, Any] | msg | ||
| ) |
Add the default All-Link Database records for an Insteon device.
Definition at line 244 of file properties.py.
| None homeassistant.components.insteon.api.properties.websocket_reset_properties | ( | HomeAssistant | hass, |
| websocket_api.connection.ActiveConnection | connection, | ||
| dict[str, Any] | msg | ||
| ) |
Add the default All-Link Database records for an Insteon device.
Definition at line 275 of file properties.py.
| None homeassistant.components.insteon.api.properties.websocket_write_properties | ( | HomeAssistant | hass, |
| websocket_api.connection.ActiveConnection | connection, | ||
| dict[str, Any] | msg | ||
| ) |
Add the default All-Link Database records for an Insteon device.
Definition at line 214 of file properties.py.
| list homeassistant.components.insteon.api.properties.RAMP_RATE_LIST = [str(seconds) for seconds in RAMP_RATE_SECONDS] |
Definition at line 40 of file properties.py.
| homeassistant.components.insteon.api.properties.RAMP_RATE_SECONDS = list(dict.fromkeys(RAMP_RATES_SEC)) |
Definition at line 38 of file properties.py.
| list homeassistant.components.insteon.api.properties.RELAY_MODES = [str(RelayMode(v)).lower() for v in list(RelayMode)] |
Definition at line 42 of file properties.py.
| string homeassistant.components.insteon.api.properties.SHOW_ADVANCED = "show_advanced" |
Definition at line 37 of file properties.py.
| list homeassistant.components.insteon.api.properties.TOGGLE_MODES = [str(ToggleMode(v)).lower() for v in list(ToggleMode)] |
Definition at line 41 of file properties.py.