diff --git a/custom_components/whatsapp_bridge_integration/services.yaml b/custom_components/whatsapp_bridge_integration/services.yaml index 07d8e96..519f135 100644 --- a/custom_components/whatsapp_bridge_integration/services.yaml +++ b/custom_components/whatsapp_bridge_integration/services.yaml @@ -1,33 +1,20 @@ send_message: name: Send Message - description: Sends a WhatsApp message via the Bahmcloud Bridge. + description: Sends a WhatsApp message. fields: recipient: name: Recipient - description: Select a saved profile or choose "Broadcast to all". + description: Select an account or type "all" for broadcast. required: true selector: - select: - options: - - label: "Broadcast to all" - value: "all_accounts" - # Dieser Teil sorgt dafür, dass HA die Namen deiner Accounts anzeigt - custom_value: true + entity: + filter: + integration: whatsapp_bridge_integration + domain: sensor message: name: Message - description: The content of your WhatsApp message. + description: The content of your message. required: true selector: text: - multiline: true - use_manual_number: - name: Use Manual Number - description: Enable this to ignore the recipient and use the number field below. - default: false - selector: - boolean: - number: - name: Manual Number - description: "Direct phone number (e.g., 491701234567)." - selector: - text: \ No newline at end of file + multiline: true \ No newline at end of file