Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.moat.sensor Namespace Reference

Classes

class  MoatBluetoothSensorEntity
 

Functions

PassiveBluetoothEntityKey _device_key_to_bluetooth_entity_key (DeviceKey device_key)
 
None async_setup_entry (HomeAssistant hass, config_entries.ConfigEntry entry, AddEntitiesCallback async_add_entities)
 
PassiveBluetoothDataUpdate sensor_update_to_bluetooth_data_update (SensorUpdate sensor_update)
 

Variables

dictionary SENSOR_DESCRIPTIONS
 

Detailed Description

Support for moat ble sensors.

Function Documentation

◆ _device_key_to_bluetooth_entity_key()

PassiveBluetoothEntityKey homeassistant.components.moat.sensor._device_key_to_bluetooth_entity_key ( DeviceKey  device_key)
private
Convert a device key to an entity key.

Definition at line 71 of file sensor.py.

◆ async_setup_entry()

None homeassistant.components.moat.sensor.async_setup_entry ( HomeAssistant  hass,
config_entries.ConfigEntry  entry,
AddEntitiesCallback  async_add_entities 
)
Set up the Moat BLE sensors.

Definition at line 105 of file sensor.py.

◆ sensor_update_to_bluetooth_data_update()

PassiveBluetoothDataUpdate homeassistant.components.moat.sensor.sensor_update_to_bluetooth_data_update ( SensorUpdate  sensor_update)
Convert a sensor update to a bluetooth data update.

Definition at line 78 of file sensor.py.

Variable Documentation

◆ SENSOR_DESCRIPTIONS

dictionary homeassistant.components.moat.sensor.SENSOR_DESCRIPTIONS

Definition at line 33 of file sensor.py.