GithubHelp home page GithubHelp logo

home-assistant-crisp's People

Contributors

dependabot[bot] avatar nlthijs48 avatar

Watchers

 avatar

home-assistant-crisp's Issues

Support selecting the country of the Crisp account

Crisp is available in BE and NL, support using accounts for both:

  1. Ask for the country in the first config flow step
  2. Use the country during the login api calls
  3. Add the country to the config entry name
    • User accounts at Crisp are specifically for either BE or NL, therefore 2 accounts with the same email can exist, for different countries

Maybe add some device properties that indicate country + userid?

Implement a reauth flow

Checklist

  • I have filled out the template to the best of my ability.
  • This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
  • This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.

Whenever the Crisp account is logged out for any reason, you currently need to remove the integration and add it again.

Describe the solution you'd like

Implement the reauth flow so that Home Assistant nicely shows the reauth indication and performs the login flow again (keeping all entities and such).

Describe alternatives you've considered

None

Additional context

https://developers.home-assistant.io/docs/config_entries_config_flow_handler#reauthentication

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.