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

Functions

None async_register_services (HomeAssistant hass)
 
bool hue_activate_scene_v1 (HueBridge bridge, str group_name, str scene_name, int|None transition=None, bool is_retry=False)
 
bool hue_activate_scene_v2 (HueBridge bridge, str group_name, str scene_name, int|None transition=None, bool dynamic=True)
 

Variables

 LOGGER = logging.getLogger(__name__)
 

Detailed Description

Handle Hue Service calls.

Function Documentation

◆ async_register_services()

None homeassistant.components.hue.services.async_register_services ( HomeAssistant  hass)
Register services for Hue integration.

Definition at line 28 of file services.py.

◆ hue_activate_scene_v1()

bool homeassistant.components.hue.services.hue_activate_scene_v1 ( HueBridge  bridge,
str  group_name,
str  scene_name,
int | None   transition = None,
bool   is_retry = False 
)
Service for V1 bridge to call directly into bridge to set scenes.

Definition at line 77 of file services.py.

◆ hue_activate_scene_v2()

bool homeassistant.components.hue.services.hue_activate_scene_v2 ( HueBridge  bridge,
str  group_name,
str  scene_name,
int | None   transition = None,
bool   dynamic = True 
)
Service for V2 bridge to call scene by name.

Definition at line 128 of file services.py.

Variable Documentation

◆ LOGGER

homeassistant.components.hue.services.LOGGER = logging.getLogger(__name__)

Definition at line 25 of file services.py.