Code Monkey home page Code Monkey logo

Comments (2)

slash5k1 avatar slash5k1 commented on June 26, 2024

The home assistant discovery topic is being published by the code in mqtt_client.py under the _send_discovery_message function which covers:

  • ac_input_power
  • dc_input_power
  • ac_output_power
  • dc_output_power
  • total_battery_percent
  • ac_output_on
  • dc_output_on; and
  • led_mode (if the device support led_mode)

Reads like you want the discovery to also include

  • eco_on
  • eco_shutdown
  • charging_mode; and
  • power_lifting_on

You could add these additional items to mqtt_client.py but maybe it would be better to only have the core auto discovery topics in this file and move specific device discovery to their specific device file under core/devices?

from bluetti_mqtt.

burpen avatar burpen commented on June 26, 2024

Reads like you want the discovery to also include ...

Yes, you're spot on about what I was looking for. I haven't had the chance to try out #45, but it looks like it will address everything.

from bluetti_mqtt.

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.