ecodevices_rt2.switches package
Submodules
ecodevices_rt2.switches.switch_api module
API switch entity for GCE Ecodevices RT2.
- class ecodevices_rt2.switches.switch_api.Switch_API(device_config: dict, ecort2: EcoDevicesRT2, coordinator: DataUpdateCoordinator, get: str, get_value: str, get_entry: str, on_get: str, on_get_value: str, off_get: str, off_get_value: str, parent_device_id: str | None = None)[source]
Bases:
Switch_EcoDevicesRT2Representation of an API switch.
ecodevices_rt2.switches.switch_ecodevicesrt2 module
Base switch entity for GCE Ecodevices RT2.
- class ecodevices_rt2.switches.switch_ecodevicesrt2.Switch_EcoDevicesRT2(device_config: dict, ecort2: EcoDevicesRT2, coordinator: DataUpdateCoordinator, suffix_name: str = '', parent_device_id: str | None = None)[source]
Bases:
EcoDevicesRT2Device,SwitchEntityBase switch for GCE Ecodevices RT2.
- property available: bool
Return true if switch is available.
- property is_on: bool
Return true if switch is on.
ecodevices_rt2.switches.switch_enocean module
EnOcean switch entity for GCE Ecodevices RT2.
- class ecodevices_rt2.switches.switch_enocean.Switch_EnOcean(device_config: dict, ecort2: EcoDevicesRT2, coordinator: DataUpdateCoordinator, parent_device_id: str | None = None)[source]
Bases:
Switch_EcoDevicesRT2Representation of an EnOcean switch.
ecodevices_rt2.switches.switch_relay module
Relay switch entity for GCE Ecodevices RT2.
- class ecodevices_rt2.switches.switch_relay.Switch_Relay(device_config: dict, ecort2: EcoDevicesRT2, coordinator: DataUpdateCoordinator, parent_device_id: str | None = None)[source]
Bases:
Switch_EcoDevicesRT2Representation of a Relay switch.
ecodevices_rt2.switches.switch_virtualoutput module
VirtualOutput switch entity for GCE Ecodevices RT2.
- class ecodevices_rt2.switches.switch_virtualoutput.Switch_VirtualOutput(device_config: dict, ecort2: EcoDevicesRT2, coordinator: DataUpdateCoordinator, parent_device_id: str | None = None)[source]
Bases:
Switch_EcoDevicesRT2Representation of a VirtualOutput switch.
ecodevices_rt2.switches.switch_x4fp module
X4FP switch entity for GCE Ecodevices RT2.
- class ecodevices_rt2.switches.switch_x4fp.Switch_X4FP(device_config: dict, ecort2: EcoDevicesRT2, coordinator: DataUpdateCoordinator, module_id: int, zone_id: int, parent_device_id: str | None = None)[source]
Bases:
Switch_EcoDevicesRT2Representation of an X4FP switch.
Module contents
Get information from GCE Ecodevices RT2.
- class ecodevices_rt2.switches.Switch_API(device_config: dict, ecort2: EcoDevicesRT2, coordinator: DataUpdateCoordinator, get: str, get_value: str, get_entry: str, on_get: str, on_get_value: str, off_get: str, off_get_value: str, parent_device_id: str | None = None)[source]
Bases:
Switch_EcoDevicesRT2Representation of an API switch.
- class ecodevices_rt2.switches.Switch_EcoDevicesRT2(device_config: dict, ecort2: EcoDevicesRT2, coordinator: DataUpdateCoordinator, suffix_name: str = '', parent_device_id: str | None = None)[source]
Bases:
EcoDevicesRT2Device,SwitchEntityBase switch for GCE Ecodevices RT2.
- property available: bool
Return true if switch is available.
- property is_on: bool
Return true if switch is on.
- class ecodevices_rt2.switches.Switch_EnOcean(device_config: dict, ecort2: EcoDevicesRT2, coordinator: DataUpdateCoordinator, parent_device_id: str | None = None)[source]
Bases:
Switch_EcoDevicesRT2Representation of an EnOcean switch.
- class ecodevices_rt2.switches.Switch_Relay(device_config: dict, ecort2: EcoDevicesRT2, coordinator: DataUpdateCoordinator, parent_device_id: str | None = None)[source]
Bases:
Switch_EcoDevicesRT2Representation of a Relay switch.
- class ecodevices_rt2.switches.Switch_VirtualOutput(device_config: dict, ecort2: EcoDevicesRT2, coordinator: DataUpdateCoordinator, parent_device_id: str | None = None)[source]
Bases:
Switch_EcoDevicesRT2Representation of a VirtualOutput switch.
- class ecodevices_rt2.switches.Switch_X4FP(device_config: dict, ecort2: EcoDevicesRT2, coordinator: DataUpdateCoordinator, module_id: int, zone_id: int, parent_device_id: str | None = None)[source]
Bases:
Switch_EcoDevicesRT2Representation of an X4FP switch.