guerrerotook / securitas-direct-new-api

This repository contains the new securitas direct API that can be integrated in Home Assistant
Apache License 2.0
73 stars 30 forks source link

Add Ireland (IE) #210

Closed oriold closed 5 months ago

oriold commented 5 months ago

Add Ireland:

IE: https://customers.verisure.ie/owa-api/graphql"

And English language for Ireland:

"IE": "en"

Thanks in advance.

gilbertorconde commented 5 months ago

in the code there's a default template for domains that looks like this: https://customers.securitasdirect.{country}/owa-api/graphql and a default lang as en. i believe if you set the Country Code to "ie" in the login panel everything would work just fine for you.

oriold commented 5 months ago

Looks like the file is:

securitas-direct-new-api/custom_components/securitas/securitas_direct_new_api /domains.py

In Ireland we use verisure. Can you change it? I maybe can do a PR as well

cantupaz commented 5 months ago

I'm testing the change. Hold on :-)

gilbertorconde commented 5 months ago

Looks like the file is:

securitas-direct-new-api/custom_components/securitas/securitas_direct_new_api /domains.py

In Ireland we use verisure. Can you change it? I maybe can do a PR as well

You're right, i miss that