ecodevices_rt2.binarysensors package

Submodules

ecodevices_rt2.binarysensors.binarysensor_digitalinput module

DigitalInput binary sensor for GCE Ecodevices RT2.

class ecodevices_rt2.binarysensors.binarysensor_digitalinput.BinarySensor_DigitalInput(device_config: dict, ecort2: EcoDevicesRT2, coordinator: DataUpdateCoordinator, parent_device_id: str | None = None)[source]

Bases: BinarySensor_EcoDevicesRT2

Representation of a BinarySensor_DigitalInput.

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

Return the digital input status.

ecodevices_rt2.binarysensors.binarysensor_ecodevicesrt2 module

Base binary sensor class for GCE Ecodevices RT2.

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

Bases: EcoDevicesRT2Device, BinarySensorEntity

Base binary sensor for GCE Ecodevices RT2.

property available: bool

Return true if entity is available.

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

Get binary sensor status.

property is_on: bool

Return true if the binary sensor is on.

Module contents

Get information from GCE Ecodevices RT2.

class ecodevices_rt2.binarysensors.BinarySensor_DigitalInput(device_config: dict, ecort2: EcoDevicesRT2, coordinator: DataUpdateCoordinator, parent_device_id: str | None = None)[source]

Bases: BinarySensor_EcoDevicesRT2

Representation of a BinarySensor_DigitalInput.

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

Return the digital input status.

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

Bases: EcoDevicesRT2Device, BinarySensorEntity

Base binary sensor for GCE Ecodevices RT2.

property available: bool

Return true if entity is available.

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

Get binary sensor status.

property is_on: bool

Return true if the binary sensor is on.