* Lazy loading of service descriptions * Fix tests * Load YAML in executor * Return a copy of available services to allow mutations * Remove lint * Add zha/services.yaml * Only cache descriptions for known services * Remove lint * Remove description loading during service registration * Remove description parameter from async_register * Test async_get_all_descriptions * Remove lint * Fix typos from multi-edit * Remove unused arguments * Remove unused import os * Remove unused import os, part 2 * Remove unneeded coroutine decorator * Only use executor for loading files * Cleanups suggested in review * Increase test coverage * Fix races in existing tests
9 lines
200 B
YAML
9 lines
200 B
YAML
# Describes the format for available scene services
|
|
|
|
turn_on:
|
|
description: Activate a scene.
|
|
fields:
|
|
entity_id:
|
|
description: Name(s) of scenes to turn on
|
|
example: 'scene.romantic'
|