Giter VIP home page Giter VIP logo

Comments (5)

rytilahti avatar rytilahti commented on July 23, 2024

Hi and thanks for reporting! Would you mind contributing a fixture file to our test suite?

from python-kasa.

nodiaque avatar nodiaque commented on July 23, 2024

I found out that by using kasa username and password variable, the authentication is used and its working. So it's seem the code is already in place to have it work!

from python-kasa.

rytilahti avatar rytilahti commented on July 23, 2024

Glad to hear that :-) We have taken a more modular approach so most devices will have at least some sort of support out-of-the-box. If you try kasa feature on it, you may see even more features being available to control than what was possible previously, if you already had older HS220s.

As for the fixture files, those contain anonymized information (you can see examples at https://github.com/python-kasa/python-kasa/tree/master/kasa/tests/fixtures/smart) that is useful to extend the support for new features & it's also used to list supported devices, so having one for the new HS220 would be great!

from python-kasa.

nodiaque avatar nodiaque commented on July 23, 2024

Hello,

I just generate a lot of them (I ran it against all my device). How do I make a pull request now from my ubuntu cli?

Thank you

from python-kasa.

rytilahti avatar rytilahti commented on July 23, 2024

Hi, and thank you for helping us! You could either just upload the files (git status shows the ones that were created, they should be inside the kasa/tests/fixtures/ directory), or try if https://github.com/simonplend/howto-create-pr-with-github-cli works its magic.

In order to commit the changes, you can use git commit -a -m "Add fixtures" to commit all the changed files before trying to create a PR, and we can take it from there.

from python-kasa.

Related Issues (20)

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.