Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.esphome.switch Namespace Reference

Classes

class  EsphomeSwitch
 

Variables

 async_setup_entry
 

Detailed Description

Support for ESPHome switches.

Variable Documentation

◆ async_setup_entry

homeassistant.components.esphome.switch.async_setup_entry
Initial value:
1 = partial(
2  platform_async_setup_entry,
3  info_type=SwitchInfo,
4  entity_type=EsphomeSwitch,
5  state_type=SwitchState,
6 )

Definition at line 52 of file switch.py.