From f4a9f45637154dc14cec93b54cae06e2ccfe2de8 Mon Sep 17 00:00:00 2001 From: Jason Williams Date: Mon, 22 Oct 2018 19:13:23 -0600 Subject: [PATCH] Updating home assistant authorization to use a long-lived token instead of a password --- www/where/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/where/index.php b/www/where/index.php index 9aad96e..7a8b916 100644 --- a/www/where/index.php +++ b/www/where/index.php @@ -3,7 +3,7 @@ $options = array( 'http' => array( 'method' => 'GET', - 'header' => 'x-ha-access: nXa7LiR1PG' + 'header' => 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiI3Yjc3NmM1NDg3OTg0OTU5OTdiMjlkNjI3MjU2MzUzMiIsImlhdCI6MTU0MDI1NzA3MiwiZXhwIjoxODU1NjE3MDcyfQ.7-E6h8d-u23d-XZBqLohfSDZZJXqMYiZ85MlunNr6N8' ) );