Skip to content

Commit

Permalink
Merge pull request #47 from danimtb/devel
Browse files Browse the repository at this point in the history
Fixes auth issue
  • Loading branch information
danimtb authored Aug 2, 2018
2 parents 1cacb7a + 1855fdb commit 688bb57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dasshio/dasshio.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def arp_display(pkt):
button["body"]), headers=json.loads(button["headers"]))
else:
request = requests.post(url_request, json=json.loads(
button["service_data"]))
button["service_data"]), headers={'x-ha-access': os.environ.get('HASSIO_TOKEN')})

logging.info("Status Code: {}".format(request.status_code))

Expand Down

0 comments on commit 688bb57

Please sign in to comment.