Updating home assistant authorization to use a long-lived token instead of a password
This commit is contained in:
parent
09779dd560
commit
f4a9f45637
@ -3,7 +3,7 @@
|
||||
$options = array(
|
||||
'http' => array(
|
||||
'method' => 'GET',
|
||||
'header' => 'x-ha-access: nXa7LiR1PG'
|
||||
'header' => 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiI3Yjc3NmM1NDg3OTg0OTU5OTdiMjlkNjI3MjU2MzUzMiIsImlhdCI6MTU0MDI1NzA3MiwiZXhwIjoxODU1NjE3MDcyfQ.7-E6h8d-u23d-XZBqLohfSDZZJXqMYiZ85MlunNr6N8'
|
||||
)
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user