ecodevices_rt2.lights package

Submodules

ecodevices_rt2.lights.light_api module

class ecodevices_rt2.lights.light_api.Light_API(device_config: dict, ecort2: EcoDevicesRT2, coordinator: DataUpdateCoordinator, get, get_value, get_entry, on_get, on_get_value, off_get, off_get_value)[source]

Bases: Light_EcoDevicesRT2, Entity

Representation of an EnOcean sensor.

get_status(cached_ms: int = None) bool[source]
set_off() bool[source]
set_on() bool[source]

ecodevices_rt2.lights.light_ecodevicesrt2 module

class ecodevices_rt2.lights.light_ecodevicesrt2.Light_EcoDevicesRT2(device_config: dict, ecort2: EcoDevicesRT2, coordinator: DataUpdateCoordinator, suffix_name: str = '')[source]

Bases: EcoDevicesRT2Device, LightEntity

async async_turn_off(**kwargs)[source]

Turn the switch on at next update.

async async_turn_on(**kwargs)[source]

Turn the switch on at next update.

property available

Return true if switch is available.

get_status(cached_ms: int = None) bool[source]
property is_on: bool

Return true if switch is on. Standby is on.

set_off() bool[source]
set_on() bool[source]

ecodevices_rt2.lights.light_enocean module

class ecodevices_rt2.lights.light_enocean.Light_EnOcean(device_config: dict, ecort2: EcoDevicesRT2, coordinator: DataUpdateCoordinator)[source]

Bases: Light_EcoDevicesRT2, Entity

Representation of an EnOcean switch.

get_status(cached_ms: int = None) bool[source]
set_off() bool[source]
set_on() bool[source]

ecodevices_rt2.lights.light_relay module

class ecodevices_rt2.lights.light_relay.Light_Relay(device_config: dict, ecort2: EcoDevicesRT2, coordinator: DataUpdateCoordinator)[source]

Bases: Light_EcoDevicesRT2, Entity

Representation of an Relay switch.

get_status(cached_ms: int = None) bool[source]
set_off() bool[source]
set_on() bool[source]

ecodevices_rt2.lights.light_virtualoutput module

class ecodevices_rt2.lights.light_virtualoutput.Light_VirtualOutput(device_config: dict, ecort2: EcoDevicesRT2, coordinator: DataUpdateCoordinator)[source]

Bases: Light_EcoDevicesRT2, Entity

Representation of an VirtualOutput switch.

get_status(cached_ms: int = None) bool[source]
set_off() bool[source]
set_on() bool[source]

Module contents

Get information from GCE Ecodevices RT2.

class ecodevices_rt2.lights.Light_API(device_config: dict, ecort2: EcoDevicesRT2, coordinator: DataUpdateCoordinator, get, get_value, get_entry, on_get, on_get_value, off_get, off_get_value)[source]

Bases: Light_EcoDevicesRT2, Entity

Representation of an EnOcean sensor.

get_status(cached_ms: int = None) bool[source]
set_off() bool[source]
set_on() bool[source]
class ecodevices_rt2.lights.Light_EcoDevicesRT2(device_config: dict, ecort2: EcoDevicesRT2, coordinator: DataUpdateCoordinator, suffix_name: str = '')[source]

Bases: EcoDevicesRT2Device, LightEntity

async async_turn_off(**kwargs)[source]

Turn the switch on at next update.

async async_turn_on(**kwargs)[source]

Turn the switch on at next update.

property available

Return true if switch is available.

get_status(cached_ms: int = None) bool[source]
property is_on: bool

Return true if switch is on. Standby is on.

set_off() bool[source]
set_on() bool[source]
class ecodevices_rt2.lights.Light_EnOcean(device_config: dict, ecort2: EcoDevicesRT2, coordinator: DataUpdateCoordinator)[source]

Bases: Light_EcoDevicesRT2, Entity

Representation of an EnOcean switch.

get_status(cached_ms: int = None) bool[source]
set_off() bool[source]
set_on() bool[source]
class ecodevices_rt2.lights.Light_Relay(device_config: dict, ecort2: EcoDevicesRT2, coordinator: DataUpdateCoordinator)[source]

Bases: Light_EcoDevicesRT2, Entity

Representation of an Relay switch.

get_status(cached_ms: int = None) bool[source]
set_off() bool[source]
set_on() bool[source]
class ecodevices_rt2.lights.Light_VirtualOutput(device_config: dict, ecort2: EcoDevicesRT2, coordinator: DataUpdateCoordinator)[source]

Bases: Light_EcoDevicesRT2, Entity

Representation of an VirtualOutput switch.

get_status(cached_ms: int = None) bool[source]
set_off() bool[source]
set_on() bool[source]