mirror of
https://github.com/esphome/esphome.git
synced 2025-09-01 19:02:18 +01:00
25 lines
503 B
YAML
25 lines
503 B
YAML
esphome:
|
|
name: api-custom-services-test
|
|
host:
|
|
|
|
# This is required for CustomAPIDevice to work
|
|
api:
|
|
custom_services: true
|
|
# Also test that YAML services still work
|
|
actions:
|
|
- action: test_yaml_service
|
|
then:
|
|
- logger.log: "YAML service called"
|
|
|
|
logger:
|
|
level: DEBUG
|
|
|
|
# External component that uses CustomAPIDevice
|
|
external_components:
|
|
- source:
|
|
type: local
|
|
path: EXTERNAL_COMPONENT_PATH
|
|
components: [custom_api_device_component]
|
|
|
|
custom_api_device_component:
|