Coder Social home page Coder Social logo

Comments (5)

Koenkk avatar Koenkk commented on July 25, 2024

This should do it:

numeric({
                entityCategory: 'config', // <-- add this line
                name: 'valve_opening_degree',
                cluster: 'customSonoffTrvzb',
                attribute: 'valveOpeningDegree',
                description: 'Valve open position (percentage) control. ' +
                    'If the opening degree is set to 100%, the valve is fully open when it is opened. ' +
                    'If the opening degree is set to 0%, the valve is fully closed when it is opened, ' +
                    'and the default value is 100%. ' +
                    'Note: only version v1.1.4 or higher is supported.',
                valueMin: 0.0,
                valueMax: 100.0,
                valueStep: 1.0,
                unit: '%',
            }),

from zigbee-herdsman-converters.

blacknell avatar blacknell commented on July 25, 2024

I'm happy to create a PR but:

  1. I don't see this new line in any of the entities that do appear as config items (so that's unclear)
  2. I don't have the set up to properly test this
    -- the docs for adding a new device seem fairly involved but adding to an existing seems tricky
    -- I don't have a debug/test instance only my prod instance

Is there a way I can create the PR and then test later the development stream, or someone else test it (shocking I know) or someone else take this on.

from zigbee-herdsman-converters.

Koenkk avatar Koenkk commented on July 25, 2024
  1. Because some are mapped here instead (deprecated)
  2. Just submit the PR, this should work.

from zigbee-herdsman-converters.

blacknell avatar blacknell commented on July 25, 2024

I can see the new config payload in HA (devices -> mqtt info) but it doesn't seem to be reloading. I've tried restarting z2m (which already did due to addon upload) and restarting mosquitto. also reconfigure one of the TRV's in z2m which did indicate it had done so.

Usually a new payload gets read by HA and the device refreshes?

from zigbee-herdsman-converters.

Koenkk avatar Koenkk commented on July 25, 2024

I think HA doesn't update, try to force remove the device and re-pair it, this will re-init the entity at the HA side.

from zigbee-herdsman-converters.

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.