From 70d1061cd005f60277412bae8e5b188dc530dfec Mon Sep 17 00:00:00 2001 From: Jeffrey Stone Date: Fri, 27 Nov 2020 20:46:57 -0500 Subject: [PATCH] Testing command to refresh google calendar token --- config/configuration.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/config/configuration.yaml b/config/configuration.yaml index 83bcf2f..79672d1 100644 --- a/config/configuration.yaml +++ b/config/configuration.yaml @@ -294,3 +294,4 @@ shell_command: grocy_consume_item: "curl -k -X POST https://{{server_ip}}:9192/api/stock/products/{{product_id}}/consume -H 'Accept: application/json' -H 'Content-Type: application/json' -H 'GROCY-API-KEY: {{grocy_key}}' -H 'cache-control: no-cache' -d '{ \"amount\": {{amount}}, \"transaction_type\": \"consume\", \"spoiled\": false }'" grocy_chore_complete: "curl -k -X POST https://{{server_ip}}:9192/api/chores/{{chore_id}}/execute -H 'Accept: application/json' -H 'Content-Type: application/json' -H 'GROCY-API-KEY: {{grocy_key}}' -H 'cache-control: no-cache' -d '{ \"tracked_time\": {{timestamp}}, \"done_by\": {{user}} }'" grocy_add_item: "curl -k -X POST https://{{server_ip}}:9192/api/stock/products/{{product_id}}/add -H 'Accept: application/json' -H 'Content-Type: application/json' -H 'GROCY-API-KEY: {{grocy_key}}' -H 'cache-control: no-cache' -d '{ \"amount\": {{amount}}, \"best_before_date\": {{best_before_date}}, \"transaction_type\": \"purchase\", \"price\": {{price}} }'" + google_token: sed -i -e 's/2client.client"}2client.client"}/2client.client"}/g' /config/.google.token \ No newline at end of file