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

Namespaces

 api
 
 binary_sensor
 
 config_flow
 
 const
 
 coordinator
 
 diagnostics
 
 entity
 
 sensor
 

Functions

None _async_migrate_device_identifiers (HomeAssistant hass, ConfigEntry config_entry, str|None old_unique_id)
 
dict[str, Any] _migrate_entity_unique_id (er.RegistryEntry entity_entry)
 
bool async_migrate_entry (HomeAssistant hass, ConfigEntry config_entry)
 
bool async_setup_entry (HomeAssistant hass, ConfigEntry entry)
 
bool async_unload_entry (HomeAssistant hass, ConfigEntry config_entry)
 
None load_dnspython_rdata_classes ()
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
list PLATFORMS = [Platform.BINARY_SENSOR, Platform.SENSOR]
 

Detailed Description

The Minecraft Server integration.

Function Documentation

◆ _async_migrate_device_identifiers()

None homeassistant.components.minecraft_server._async_migrate_device_identifiers ( HomeAssistant  hass,
ConfigEntry  config_entry,
str | None   old_unique_id 
)
private
Migrate the device identifiers to the new format.

Definition at line 162 of file __init__.py.

◆ _migrate_entity_unique_id()

dict[str, Any] homeassistant.components.minecraft_server._migrate_entity_unique_id ( er.RegistryEntry  entity_entry)
private
Migrate the unique ID of an entity to the new format.

Definition at line 198 of file __init__.py.

◆ async_migrate_entry()

bool homeassistant.components.minecraft_server.async_migrate_entry ( HomeAssistant  hass,
ConfigEntry  config_entry 
)
Migrate old config entry to a new format.

Definition at line 89 of file __init__.py.

◆ async_setup_entry()

bool homeassistant.components.minecraft_server.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Set up Minecraft Server from a config entry.

Definition at line 42 of file __init__.py.

◆ async_unload_entry()

bool homeassistant.components.minecraft_server.async_unload_entry ( HomeAssistant  hass,
ConfigEntry  config_entry 
)
Unload Minecraft Server config entry.

Definition at line 75 of file __init__.py.

◆ load_dnspython_rdata_classes()

None homeassistant.components.minecraft_server.load_dnspython_rdata_classes ( )
Load dnspython rdata classes used by mcstatus.

Definition at line 35 of file __init__.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 32 of file __init__.py.

◆ PLATFORMS

list homeassistant.components.minecraft_server.PLATFORMS = [Platform.BINARY_SENSOR, Platform.SENSOR]

Definition at line 30 of file __init__.py.