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

Namespaces

 binary_sensor
 
 config_flow
 
 const
 
 diagnostics
 
 entity
 
 sensor
 
 switch
 
 update
 

Classes

class  PiHoleData
 

Functions

bool async_setup_entry (HomeAssistant hass, PiHoleConfigEntry entry)
 
bool async_unload_entry (HomeAssistant hass, ConfigEntry entry)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 PiHoleConfigEntry
 
list PLATFORMS
 

Detailed Description

The pi_hole component.

Function Documentation

◆ async_setup_entry()

bool homeassistant.components.pi_hole.async_setup_entry ( HomeAssistant  hass,
PiHoleConfigEntry  entry 
)
Set up Pi-hole entry.

Definition at line 50 of file __init__.py.

◆ async_unload_entry()

bool homeassistant.components.pi_hole.async_unload_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Unload Pi-hole entry.

Definition at line 136 of file __init__.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 29 of file __init__.py.

◆ PiHoleConfigEntry

homeassistant.components.pi_hole.PiHoleConfigEntry

Definition at line 39 of file __init__.py.

◆ PLATFORMS

list homeassistant.components.pi_hole.PLATFORMS
Initial value:
1 = [
2  Platform.BINARY_SENSOR,
3  Platform.SENSOR,
4  Platform.SWITCH,
5  Platform.UPDATE,
6 ]

Definition at line 32 of file __init__.py.