Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.tasmota Namespace Reference

Namespaces

 binary_sensor
 
 config_flow
 
 const
 
 cover
 
 device_automation
 
 device_trigger
 
 discovery
 
 entity
 
 fan
 
 light
 
 sensor
 
 switch
 

Functions

None _remove_device (HomeAssistant hass, ConfigEntry config_entry, str mac, TasmotaMQTTClient tasmota_mqtt, DeviceRegistry device_registry)
 
None _update_device (HomeAssistant hass, ConfigEntry config_entry, TasmotaDeviceConfig config, DeviceRegistry device_registry)
 
bool async_remove_config_entry_device (HomeAssistant hass, ConfigEntry config_entry, dr.DeviceEntry device_entry)
 
None async_setup_device (HomeAssistant hass, str mac, TasmotaDeviceConfig config, ConfigEntry config_entry, TasmotaMQTTClient tasmota_mqtt, DeviceRegistry device_registry)
 
bool async_setup_entry (HomeAssistant hass, ConfigEntry entry)
 
bool async_unload_entry (HomeAssistant hass, ConfigEntry entry)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 

Detailed Description

The Tasmota integration.

Function Documentation

◆ _remove_device()

None homeassistant.components.tasmota._remove_device ( HomeAssistant  hass,
ConfigEntry  config_entry,
str  mac,
TasmotaMQTTClient  tasmota_mqtt,
DeviceRegistry  device_registry 
)
private
Remove a discovered Tasmota device.

Definition at line 111 of file __init__.py.

◆ _update_device()

None homeassistant.components.tasmota._update_device ( HomeAssistant  hass,
ConfigEntry  config_entry,
TasmotaDeviceConfig  config,
DeviceRegistry  device_registry 
)
private
Add or update device registry.

Definition at line 132 of file __init__.py.

◆ async_remove_config_entry_device()

bool homeassistant.components.tasmota.async_remove_config_entry_device ( HomeAssistant  hass,
ConfigEntry  config_entry,
dr.DeviceEntry   device_entry 
)
Remove Tasmota config entry from a device.

Definition at line 166 of file __init__.py.

◆ async_setup_device()

None homeassistant.components.tasmota.async_setup_device ( HomeAssistant  hass,
str  mac,
TasmotaDeviceConfig  config,
ConfigEntry  config_entry,
TasmotaMQTTClient  tasmota_mqtt,
DeviceRegistry  device_registry 
)
Set up the Tasmota device.

Definition at line 151 of file __init__.py.

◆ async_setup_entry()

bool homeassistant.components.tasmota.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Set up Tasmota from a config entry.

Definition at line 40 of file __init__.py.

◆ async_unload_entry()

bool homeassistant.components.tasmota.async_unload_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Unload a config entry.

Definition at line 84 of file __init__.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.tasmota._LOGGER = logging.getLogger(__name__)
private

Definition at line 37 of file __init__.py.