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

Classes

class  DemoWaterHeater
 

Functions

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

Variables

tuple SUPPORT_FLAGS_HEATER
 

Detailed Description

Demo platform that offers a fake water heater device.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.demo.water_heater.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up the Demo config entry.

Definition at line 24 of file water_heater.py.

Variable Documentation

◆ SUPPORT_FLAGS_HEATER

tuple homeassistant.components.demo.water_heater.SUPPORT_FLAGS_HEATER
Initial value:
1 = (
2  WaterHeaterEntityFeature.TARGET_TEMPERATURE
3  | WaterHeaterEntityFeature.ON_OFF
4  | WaterHeaterEntityFeature.OPERATION_MODE
5  | WaterHeaterEntityFeature.AWAY_MODE
6 )

Definition at line 16 of file water_heater.py.