ecodevices_rt2 package

Subpackages

Submodules

ecodevices_rt2.binary_sensor module

Support for the GCE Ecodevices RT2 controller.

type binary_sensor.EcoDevicesRT2ConfigEntry = ConfigEntry[EcoDevicesRT2RuntimeData]
async ecodevices_rt2.binary_sensor.async_setup_entry(hass: HomeAssistant, entry: EcoDevicesRT2ConfigEntry, async_add_entities: AddEntitiesCallback) → None[source]

Set up the GCE Ecodevices RT2 binary_sensors.

ecodevices_rt2.climate module

Support for the GCE Ecodevices RT2 controller.

type climate.EcoDevicesRT2ConfigEntry = ConfigEntry[EcoDevicesRT2RuntimeData]
async ecodevices_rt2.climate.async_setup_entry(hass: HomeAssistant, entry: EcoDevicesRT2ConfigEntry, async_add_entities: AddEntitiesCallback) → None[source]

Set up the GCE Ecodevices RT2 climates.

ecodevices_rt2.config_flow module

Config flow to configure the GCE Ecodevices RT2 integration.

class ecodevices_rt2.config_flow.IpxConfigFlow[source]

Bases: ConfigFlow

Handle a GCE Ecodevices RT2 config flow.

VERSION = 1
async async_step_import(import_info: dict[str, Any]) → ConfigFlowResult[source]

Import a config entry from YAML config.

async async_step_user(user_input: dict[str, Any] | None = None) → ConfigFlowResult[source]

Get configuration from the user.

ecodevices_rt2.const module

Constants for the GCE Ecodevices RT2 component.

ecodevices_rt2.device_ecodevicesrt2 module

Base entity representation for GCE Ecodevices RT2.

class ecodevices_rt2.device_ecodevicesrt2.EcoDevicesRT2Device(device_config: dict, ecort2: EcoDevicesRT2, coordinator: DataUpdateCoordinator, suffix_name: str = '', parent_device_id: str | None = None)[source]

Bases: CoordinatorEntity

Representation of a GCE Ecodevices RT2 generic device entity.

property device_class: str | None

Return the device class.

property icon: str | None

Icon to use in the frontend, if any.

ecodevices_rt2.light module

Support for the GCE Ecodevices RT2 controller.

type light.EcoDevicesRT2ConfigEntry = ConfigEntry[EcoDevicesRT2RuntimeData]
async ecodevices_rt2.light.async_setup_entry(hass: HomeAssistant, entry: EcoDevicesRT2ConfigEntry, async_add_entities: AddEntitiesCallback) → None[source]

Set up the GCE Ecodevices RT2 lights.

ecodevices_rt2.sensor module

Support for the GCE Ecodevices RT2. Based on work of @Mati24 – https://github.com/Aohzan/ecodevices

type sensor.EcoDevicesRT2ConfigEntry = ConfigEntry[EcoDevicesRT2RuntimeData]
async ecodevices_rt2.sensor.async_setup_entry(hass: HomeAssistant, entry: EcoDevicesRT2ConfigEntry, async_add_entities: AddEntitiesCallback) → None[source]

Set up the GCE Ecodevices RT2 sensors.

ecodevices_rt2.switch module

Support for the GCE Ecodevices RT2 controller.

type switch.EcoDevicesRT2ConfigEntry = ConfigEntry[EcoDevicesRT2RuntimeData]
async ecodevices_rt2.switch.async_setup_entry(hass: HomeAssistant, entry: EcoDevicesRT2ConfigEntry, async_add_entities: AddEntitiesCallback) → None[source]

Set up the GCE Ecodevices RT2 switches.

Module contents

Support for the GCE Ecodevices RT2.

type ecodevices_rt2.EcoDevicesRT2ConfigEntry = ConfigEntry[EcoDevicesRT2RuntimeData]
class ecodevices_rt2.EcoDevicesRT2RuntimeData(name: str, controller: EcoDevicesRT2, coordinator: DataUpdateCoordinator, devices: dict[str, list[dict]], parent_device_id: str)[source]

Bases: object

Runtime data for a GCE Ecodevices RT2 config entry.

controller: EcoDevicesRT2
coordinator: DataUpdateCoordinator
devices: dict[str, list[dict]]
name: str
parent_device_id: str
async ecodevices_rt2.async_setup(hass: HomeAssistant, config: ConfigType) → bool[source]

Set up the GCE Ecodevices RT2 from config file.

async ecodevices_rt2.async_setup_entry(hass: HomeAssistant, entry: EcoDevicesRT2ConfigEntry) → bool[source]

Set up the GCE Ecodevices RT2.

async ecodevices_rt2.async_unload_entry(hass: HomeAssistant, entry: EcoDevicesRT2ConfigEntry) → bool[source]

Unload a config entry.

ecodevices_rt2.build_device_list(devices_config: list) → list[source]

Check and build device list from config.

ecodevices_rt2.filter_device_list(devices: list, component: str) → list[source]

Filter device list by component.