ecodevices_rt2.climates package

Submodules

ecodevices_rt2.climates.climate_x4fp module

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

Bases: EcoDevicesRT2Device, ClimateEntity

HA_TO_RT2_STATE = {'Comfort-1': 4, 'Comfort-2': 5, 'away': 2, 'comfort': 0, '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)[source]

Set new hvac mode.

async async_set_preset_mode(preset_mode)[source]

Set new preset mode.

async async_turn_off()[source]

Turn device off.

async async_turn_on()[source]

Turn device on.

property available

Return true if switch is available.

get_mode(cached_ms: int = None)[source]
property hvac_mode

Return hvac operation ie. heat, cool mode.

Need to be one of HVAC_MODE_*.

property hvac_modes

Return the list of available hvac operation modes.

Need to be a subset of HVAC_MODES.

property preset_mode

Return the current preset mode, e.g., home, away, temp.

Requires SUPPORT_PRESET_MODE.

property preset_modes

Return a list of available preset modes.

Requires SUPPORT_PRESET_MODE.

set_mode(mode: int)[source]
property supported_features

Return the list of supported features.

property temperature_unit

Return the unit of measurement used by the platform.

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 = '')[source]

Bases: EcoDevicesRT2Device, ClimateEntity

HA_TO_RT2_STATE = {'Comfort-1': 4, 'Comfort-2': 5, 'away': 2, 'comfort': 0, '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)[source]

Set new hvac mode.

async async_set_preset_mode(preset_mode)[source]

Set new preset mode.

async async_turn_off()[source]

Turn device off.

async async_turn_on()[source]

Turn device on.

property available

Return true if switch is available.

entity_description: ClimateEntityDescription
get_mode(cached_ms: int = None)[source]
property hvac_mode

Return hvac operation ie. heat, cool mode.

Need to be one of HVAC_MODE_*.

property hvac_modes

Return the list of available hvac operation modes.

Need to be a subset of HVAC_MODES.

property preset_mode

Return the current preset mode, e.g., home, away, temp.

Requires SUPPORT_PRESET_MODE.

property preset_modes

Return a list of available preset modes.

Requires SUPPORT_PRESET_MODE.

set_mode(mode: int)[source]
property supported_features

Return the list of supported features.

property temperature_unit

Return the unit of measurement used by the platform.