Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two devices/services on same Home Assistant #4

Open
larayorch opened this issue Mar 14, 2024 · 0 comments
Open

Two devices/services on same Home Assistant #4

larayorch opened this issue Mar 14, 2024 · 0 comments

Comments

@larayorch
Copy link

Hi!

I have successfully been using WhatsPie for the past couple of months with ONE single device under my account. I recently decided to add a SECOND device under the same account, and I added a second notification service for that new device.

My configuration.yaml in Home Assistant looks something like this:

notify:

  • name: send_wa
    platform: whatspie
    api_token: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
    from_number: "507xxxxxxxx"
    country_code: "507"
  • name: send_wa_personal
    platform: whatspie
    api_token: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
    from_number: "507yyyyyyyy"
    country_code: "507"

I am using the SAME api token because both devices are under the same account. The service that says "send_wa" is working perfectly. But the service named "send_wa_personal" is not.

If I log into my WhatsPie account I can send messages from the new device from the website, but from Home Assistant it is throwing the following error, according to logs:

Logger: custom_components.whatspie.notify
Source: custom_components/whatspie/notify.py:51
integration: whatspie (documentation, issues)
First occurred: 4:20:54 PM (3 occurrences)
Last logged: 5:42:19 PM

WhatsPie HTTP API Response: 500 - {"status":500,"message":"Device Disconnected"}

Any lights on what could be causing this? Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant