Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.elmax.common Namespace Reference

Classes

class  DirectPanel
 

Functions

ssl.SSLContext build_direct_ssl_context (str cadata)
 
bool check_local_version_supported (str|None api_version)
 
str get_direct_api_url (str host, int port, bool use_ssl)
 

Detailed Description

Elmax integration common classes and utilities.

Function Documentation

◆ build_direct_ssl_context()

ssl.SSLContext homeassistant.components.elmax.common.build_direct_ssl_context ( str  cadata)
Create a custom SSL context for direct-api verification.

Definition at line 19 of file common.py.

◆ check_local_version_supported()

bool homeassistant.components.elmax.common.check_local_version_supported ( str | None  api_version)
Check whether the given API version is supported.

Definition at line 28 of file common.py.

◆ get_direct_api_url()

str homeassistant.components.elmax.common.get_direct_api_url ( str  host,
int  port,
bool  use_ssl 
)
Return the direct API url given the base URI.

Definition at line 13 of file common.py.