Nekmo / amazon-dash

Hack your Amazon Dash to run what you want.
MIT License
828 stars 67 forks source link

How can I send a trigger to a password-protected Home Assistant? #42

Closed areknames96 closed 6 years ago

areknames96 commented 6 years ago

Hi, the guide explains how to trigger an event on home assistant, but it does not work if home assistant is password protected, how can I do?

Nekmo commented 6 years ago

Hello, there is already a issue about this. #41 & #37

Regards

areknames96 commented 6 years ago

It works for urls and cmd, but I don't know how to modify for home assistant

areknames96 commented 6 years ago

For example, if I have this: " 00:00:00:00:00:00: name: switch homeassistant: 192.168.1.x:8123 event: switch_event" What line of code should I add to also insert the api_password?

Nekmo commented 6 years ago

This is currently unsupported on Home Assistant module, but you can use Url module for It.

https://github.com/Nekmo/amazon-dash/issues/37#issuecomment-368667643

The next Amazon-dash release will include password-protected support in the Home Assistant module :)

Nekmo commented 6 years ago

This feature has been included in the development branch.