guerrerotook / securitas-direct-new-api

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

Add CL as domain in domains.py #200

Closed Zuirdj closed 9 months ago

Zuirdj commented 10 months ago

Hi

I'm Verisure client in Chile, and tried to check if securitas-direct integration was working for my country. It showed error each time I tried to add it as integration, using CL as country code . Checking the logs, it was directing to securitasdirect.cl, and in Chile we use verisure.cl.

May you add the following line in domains.py ?

"cl": "https://customers.verisure.cl/owa-api/graphql", I manually added the domain in the file and the integration is now working, using 2FA. It is only showing the panel as entity, and not the sensors. securitas_CL image

Thank you

cantupaz commented 10 months ago

thanks for sending the URL for Chile.

Support for this should go out in the next release. If you want to test, you can install from my repo: https://github.com/cantupaz/securitas-direct-new-api

HACS->Integrations->Custom repositories (from the "..." menu in the top right)

cantupaz commented 9 months ago

The latest release (2.7.1) should have fixed this