ecodevices_rt2.climates package

Submodules

ecodevices_rt2.climates.climate_x4fp module

Climate platform for GCE Ecodevices RT2 X4FP.

class ecodevices_rt2.climates.climate_x4fp.Climate_X4FP(device_config: dict, ecort2: EcoDevicesRT2, coordinator: DataUpdateCoordinator, module_id: int, zone_id: int, suffix_name: str = '', parent_device_id: str | None = None)[source]

Bases: EcoDevicesRT2Device, ClimateEntity

Representation of an X4FP fil pilote heater.

HA_TO_RT2_STATE = {'away': 2, 'comfort': 0, 'comfort-1': 4, 'comfort-2': 5, 'eco': 1, 'none': 3}
RT2_TO_HA_STATE = {0: 'comfort', 1: 'eco', 2: 'away', 3: 'none', 4: 'comfort-1', 5: 'comfort-2'}
async async_set_hvac_mode(hvac_mode: HVACMode) → None[source]

Set new hvac mode.

async async_set_preset_mode(preset_mode: str) → None[source]

Set new preset mode.

async async_turn_off() → None[source]

Turn device off.

async async_turn_on() → None[source]

Turn device on.

property available: bool

Return true if entity is available.

get_mode(cached_ms: int | None = None) → int | None[source]

Return the current X4FP mode.

property hvac_mode: HVACMode

Return hvac operation ie. heat, off mode.

property preset_mode: str | None

Return the current preset mode.

set_mode(mode: int) → None[source]

Set the X4FP mode.

Module contents

Get information from GCE Ecodevices RT2.

class ecodevices_rt2.climates.Climate_X4FP(device_config: dict, ecort2: EcoDevicesRT2, coordinator: DataUpdateCoordinator, module_id: int, zone_id: int, suffix_name: str = '', parent_device_id: str | None = None)[source]

Bases: EcoDevicesRT2Device, ClimateEntity

Representation of an X4FP fil pilote heater.

HA_TO_RT2_STATE = {'away': 2, 'comfort': 0, 'comfort-1': 4, 'comfort-2': 5, 'eco': 1, 'none': 3}
RT2_TO_HA_STATE = {0: 'comfort', 1: 'eco', 2: 'away', 3: 'none', 4: 'comfort-1', 5: 'comfort-2'}
async async_set_hvac_mode(hvac_mode: HVACMode) → None[source]

Set new hvac mode.

async async_set_preset_mode(preset_mode: str) → None[source]

Set new preset mode.

async async_turn_off() → None[source]

Turn device off.

async async_turn_on() → None[source]

Turn device on.

property available: bool

Return true if entity is available.

get_mode(cached_ms: int | None = None) → int | None[source]

Return the current X4FP mode.

property hvac_mode: HVACMode

Return hvac operation ie. heat, off mode.

property preset_mode: str | None

Return the current preset mode.

set_mode(mode: int) → None[source]

Set the X4FP mode.