GithubHelp home page GithubHelp logo

Comments (4)

TedTolboom avatar TedTolboom commented on August 29, 2024 1

Thinking out loud...

this could be caused by the custom capabilities being defined as setable and at the same time being added to a sensor component of the mobile interface... Currently not in reach of my Homey, will try this evening.

But for sure, it is not needed to have these custom capabilities as setable, since only the device (and not the user) will update the capability values.

from homey-mi-flora.

TedTolboom avatar TedTolboom commented on August 29, 2024 1

Just updated the PR to change setable to false and remove the obsolete min, max and step size (only needed for setting). Did not test it myself yet.

from homey-mi-flora.

koktaildotcom avatar koktaildotcom commented on August 29, 2024

Thanks @TedTolboom! Your PR resolved the issue. The above assumption of the custom capabilities being defined as setable didn't cause it because i revert that code (they must be settable in the sync process.)

I think it was the missing battery_capability with the battery sensor.

from homey-mi-flora.

TedTolboom avatar TedTolboom commented on August 29, 2024

@koktaildotcom indeed it must have been the battery component being empty...

On the custom capability required to be setable in the sync process; that is not correct.
Setable only reflects to the user being able to manually change the value from the user interface. In this case, this is not needed / wanted (for the user to manually update the fertility value).

All updates originating from the app / device driver (including sync) are not affected by changing settable to false.

But glad it is working now ;-P

from homey-mi-flora.

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.