Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.screenlogic.services Namespace Reference

Functions

def async_load_screenlogic_services (HomeAssistant hass)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 BASE_SERVICE_SCHEMA
 
 SET_COLOR_MODE_SCHEMA
 
 TURN_ON_SUPER_CHLOR_SCHEMA
 

Detailed Description

Services for ScreenLogic integration.

Function Documentation

◆ async_load_screenlogic_services()

def homeassistant.components.screenlogic.services.async_load_screenlogic_services ( HomeAssistant  hass)
Set up services for the ScreenLogic integration.

Definition at line 58 of file services.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.screenlogic.services._LOGGER = logging.getLogger(__name__)
private

Definition at line 30 of file services.py.

◆ BASE_SERVICE_SCHEMA

homeassistant.components.screenlogic.services.BASE_SERVICE_SCHEMA
Initial value:
1 = vol.Schema(
2  {
3  vol.Required(ATTR_CONFIG_ENTRY): selector.ConfigEntrySelector(
4  {
5  "integration": DOMAIN,
6  }
7  )
8  }
9 )

Definition at line 32 of file services.py.

◆ SET_COLOR_MODE_SCHEMA

homeassistant.components.screenlogic.services.SET_COLOR_MODE_SCHEMA
Initial value:
1 = BASE_SERVICE_SCHEMA.extend(
2  {
3  vol.Required(ATTR_COLOR_MODE): vol.In(SUPPORTED_COLOR_MODES),
4  }
5 )

Definition at line 42 of file services.py.

◆ TURN_ON_SUPER_CHLOR_SCHEMA

homeassistant.components.screenlogic.services.TURN_ON_SUPER_CHLOR_SCHEMA
Initial value:
1 = BASE_SERVICE_SCHEMA.extend(
2  {
3  vol.Optional(ATTR_RUNTIME, default=24): vol.All(
4  vol.Coerce(int), vol.Clamp(min=MIN_RUNTIME, max=MAX_RUNTIME)
5  ),
6  }
7 )

Definition at line 48 of file services.py.