Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.demo.update Namespace Reference

Classes

class  DemoUpdate
 

Functions

None _fake_install ()
 
None async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 

Variables

float FAKE_INSTALL_SLEEP_TIME = 0.5
 

Detailed Description

Demo platform that offers fake update entities.

Function Documentation

◆ _fake_install()

None homeassistant.components.demo.update._fake_install ( )
private
Fake install an update.

Definition at line 98 of file update.py.

◆ async_setup_entry()

None homeassistant.components.demo.update.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up demo update platform.

Definition at line 23 of file update.py.

Variable Documentation

◆ FAKE_INSTALL_SLEEP_TIME

float homeassistant.components.demo.update.FAKE_INSTALL_SLEEP_TIME = 0.5

Definition at line 20 of file update.py.