Home Assistant RESTful command
Use a rest_command in configuration.yaml:
rest_command: openapp_cars_gate: url: "https://api.openapp.house/api/v1/entities/ENTITY_ID/actions/switchable.open" method: POST headers: Authorization: "Bearer YOUR_VOICE_PAT" Content-Type: "application/json" payload: "{}"Trigger from an automation or script:
service: rest_command.openapp_cars_gateCreate YOUR_VOICE_PAT from the dashboard Voice control wizard (one entity, finite expiry).