From f2f3cc58ca865f1915cbf13ce79501181affa1d4 Mon Sep 17 00:00:00 2001 From: Mathieu Broillet Date: Fri, 29 Dec 2023 11:17:49 +0100 Subject: [PATCH] add examples to services.yaml for monitors config service --- custom_components/easy_computer_manage/services.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/custom_components/easy_computer_manage/services.yaml b/custom_components/easy_computer_manage/services.yaml index cd7d372..3a94dbd 100644 --- a/custom_components/easy_computer_manage/services.yaml +++ b/custom_components/easy_computer_manage/services.yaml @@ -61,6 +61,7 @@ change_monitors_config: name: Entity ID description: Entity ID of the device to change monitors config. required: true + example: switch.my_computer selector: entity: integration: easy_computer_manage @@ -69,5 +70,13 @@ change_monitors_config: name: Monitors config description: Monitors config. required: true + example: | + HDMI-1: + enabled: true + primary: true + position: [ 0, 0 ] + mode: 3840x2160@120.000 + transform: normal + scale: 2 selector: object: \ No newline at end of file