Variables | |
| string | API_WS_URL = "/api/shelly/ws" |
| int | BLOCK_EXPECTED_SLEEP_PERIOD = 43200 |
| int | BLOCK_WRONG_SLEEP_PERIOD = 21600 |
| COMPONENT_ID_PATTERN = re.compile(r"[a-z\d]+:\d+") | |
| string | CONF_BLE_SCANNER_MODE = "ble_scanner_mode" |
| string | CONF_GEN = "gen" |
| tuple | DEVICES_WITHOUT_FIRMWARE_CHANGELOG |
| int | ENTRY_RELOAD_COOLDOWN = 60 |
| Final | |
| string | FIRMWARE_UNSUPPORTED_ISSUE_ID = "firmware_unsupported_{unique}" |
| tuple | GAS_VALVE_OPEN_STATES = ("opening", "opened") |
| string | GEN1_RELEASE_URL = "https://shelly-api-docs.shelly.cloud/gen1/#changelog" |
| string | GEN2_RELEASE_URL = "https://shelly-api-docs.shelly.cloud/gen2/changelog/" |
| Logger | |
| int | MAX_PUSH_UPDATE_FAILURES = 5 |
| string | NOT_CALIBRATED_ISSUE_ID = "not_calibrated_{unique}" |
| string | OTA_BEGIN = "ota_begin" |
| string | OTA_ERROR = "ota_error" |
| string | OTA_PROGRESS = "ota_progress" |
| string | OTA_SUCCESS = "ota_success" |
| string | PUSH_UPDATE_ISSUE_ID = "push_update_{unique}" |
| float | RPC_MIN_TRANSITION_TIME_SEC = 0.5 |
| int | RPC_RECONNECT_INTERVAL = 60 |
| list | SHELLY_GAS_MODELS = [MODEL_GAS] |
| SHIX3_1_INPUTS_EVENTS_TYPES = BLOCK_INPUTS_EVENTS_TYPES | |
| dictionary | VIRTUAL_COMPONENTS_MAP |
| dictionary | VIRTUAL_NUMBER_MODE_MAP |
Constants for the Shelly integration.
| string homeassistant.components.shelly.const.API_WS_URL = "/api/shelly/ws" |
| int homeassistant.components.shelly.const.BLOCK_EXPECTED_SLEEP_PERIOD = 43200 |
| int homeassistant.components.shelly.const.BLOCK_WRONG_SLEEP_PERIOD = 21600 |
| homeassistant.components.shelly.const.COMPONENT_ID_PATTERN = re.compile(r"[a-z\d]+:\d+") |
| string homeassistant.components.shelly.const.CONF_BLE_SCANNER_MODE = "ble_scanner_mode" |
| string homeassistant.components.shelly.const.CONF_GEN = "gen" |
| tuple homeassistant.components.shelly.const.DEVICES_WITHOUT_FIRMWARE_CHANGELOG |
| int homeassistant.components.shelly.const.ENTRY_RELOAD_COOLDOWN = 60 |
| string homeassistant.components.shelly.const.FIRMWARE_UNSUPPORTED_ISSUE_ID = "firmware_unsupported_{unique}" |
| tuple homeassistant.components.shelly.const.GAS_VALVE_OPEN_STATES = ("opening", "opened") |
| string homeassistant.components.shelly.const.GEN1_RELEASE_URL = "https://shelly-api-docs.shelly.cloud/gen1/#changelog" |
| string homeassistant.components.shelly.const.GEN2_RELEASE_URL = "https://shelly-api-docs.shelly.cloud/gen2/changelog/" |
| int homeassistant.components.shelly.const.MAX_PUSH_UPDATE_FAILURES = 5 |
| string homeassistant.components.shelly.const.NOT_CALIBRATED_ISSUE_ID = "not_calibrated_{unique}" |
| string homeassistant.components.shelly.const.OTA_BEGIN = "ota_begin" |
| string homeassistant.components.shelly.const.OTA_ERROR = "ota_error" |
| string homeassistant.components.shelly.const.OTA_PROGRESS = "ota_progress" |
| string homeassistant.components.shelly.const.OTA_SUCCESS = "ota_success" |
| string homeassistant.components.shelly.const.PUSH_UPDATE_ISSUE_ID = "push_update_{unique}" |
| float homeassistant.components.shelly.const.RPC_MIN_TRANSITION_TIME_SEC = 0.5 |
| int homeassistant.components.shelly.const.RPC_RECONNECT_INTERVAL = 60 |
| list homeassistant.components.shelly.const.SHELLY_GAS_MODELS = [MODEL_GAS] |
| homeassistant.components.shelly.const.SHIX3_1_INPUTS_EVENTS_TYPES = BLOCK_INPUTS_EVENTS_TYPES |
| dictionary homeassistant.components.shelly.const.VIRTUAL_COMPONENTS_MAP |