837f34c40c
* Added scene.delete service Only for scenes created with scene.create * Refactor after #95984 #96390 * Split scene validation in 2 First, check if entity_id is a scene Second, check if it's a scene created with `scene.create` * Address feedback - Move service to `homeassistant` domain - Register with `platform.async_register_entity_service` - Raise validation errors instead of just logging messages * Revert moving the service to the `homeassistant` domain * Remove unneeded validation * Use helpers and fix tests * Apply suggestions from code review Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Fix linting --------- Co-authored-by: Martin Hjelmare <marhje52@gmail.com> |
||
---|---|---|
.. | ||
__init__.py | ||
manifest.json | ||
services.yaml | ||
strings.json |