Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.keymitt_ble.entity.MicroBotEntity Class Reference
Inheritance diagram for homeassistant.components.keymitt_ble.entity.MicroBotEntity:
[legend]
Collaboration diagram for homeassistant.components.keymitt_ble.entity.MicroBotEntity:
[legend]

Public Member Functions

def __init__ (self, coordinator, config_entry)
 
dict[str, Any] data (self)
 
- Public Member Functions inherited from homeassistant.components.keymitt_ble.coordinator.MicroBotDataUpdateCoordinator
None __init__ (self, HomeAssistant hass, MicroBotApiClient client, BLEDevice ble_device)
 
- Public Member Functions inherited from homeassistant.components.bluetooth.passive_update_coordinator.PassiveBluetoothDataUpdateCoordinator
None __init__ (self, HomeAssistant hass, logging.Logger logger, str address, BluetoothScanningMode mode, bool connectable=False)
 
Callable[[], None] async_add_listener (self, CALLBACK_TYPE update_callback, Any context=None)
 
Generator[Any] async_contexts (self)
 
None async_update_listeners (self)
 
bool available (self)
 
- Public Member Functions inherited from homeassistant.components.bluetooth.update_coordinator.BasePassiveBluetoothCoordinator
CALLBACK_TYPE async_start (self)
 
float last_seen (self)
 
str name (self)
 

Private Attributes

 _address
 
 _attr_device_info
 
 _attr_unique_id
 

Static Private Attributes

bool _attr_has_entity_name = True
 

Additional Inherited Members

- Public Attributes inherited from homeassistant.components.keymitt_ble.coordinator.MicroBotDataUpdateCoordinator
 ble_device
 
 data
 
- Public Attributes inherited from homeassistant.components.bluetooth.update_coordinator.BasePassiveBluetoothCoordinator
 address
 
 connectable
 
 hass
 
 logger
 
 mode
 

Detailed Description

Generic entity for all MicroBots.

Definition at line 17 of file entity.py.

Constructor & Destructor Documentation

◆ __init__()

def homeassistant.components.keymitt_ble.entity.MicroBotEntity.__init__ (   self,
  coordinator,
  config_entry 
)
Initialise the entity.

Definition at line 22 of file entity.py.

Member Function Documentation

◆ data()

dict[str, Any] homeassistant.components.keymitt_ble.entity.MicroBotEntity.data (   self)
Return coordinator data for this entity.

Definition at line 35 of file entity.py.

Member Data Documentation

◆ _address

homeassistant.components.keymitt_ble.entity.MicroBotEntity._address
private

Definition at line 25 of file entity.py.

◆ _attr_device_info

homeassistant.components.keymitt_ble.entity.MicroBotEntity._attr_device_info
private

Definition at line 27 of file entity.py.

◆ _attr_has_entity_name

bool homeassistant.components.keymitt_ble.entity.MicroBotEntity._attr_has_entity_name = True
staticprivate

Definition at line 20 of file entity.py.

◆ _attr_unique_id

homeassistant.components.keymitt_ble.entity.MicroBotEntity._attr_unique_id
private

Definition at line 26 of file entity.py.


The documentation for this class was generated from the following file: