Updating home assistant authorization to use a long-lived token instead of a password

This commit is contained in:
Jason Williams 2018-10-22 19:13:23 -06:00
parent 09779dd560
commit f4a9f45637
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
$options = array(
'http' => array(
'method' => 'GET',
'header' => 'x-ha-access: nXa7LiR1PG'
'header' => 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiI3Yjc3NmM1NDg3OTg0OTU5OTdiMjlkNjI3MjU2MzUzMiIsImlhdCI6MTU0MDI1NzA3MiwiZXhwIjoxODU1NjE3MDcyfQ.7-E6h8d-u23d-XZBqLohfSDZZJXqMYiZ85MlunNr6N8'
)
);