SonnenladenGmbH / APsystems-EZ1-API-HomeAssistant

The APsystems EZ1 Integration offers a streamlined interface for interacting with the local API of APsystems EZ1 Microinverters using Home Assistant.
MIT License
77 stars 11 forks source link

Use of input.number for max Power #22

Closed HABen91 closed 3 months ago

HABen91 commented 3 months ago

Is it possible to Switch the max Power setting from beeing a "number" to an "Input.number"? This would allow to use a standard Automation to increase/decrease the value by increments. Doing this allows to realize a zero return regulation to optimize power usage when using a Powerbank.

mawoka-myblock commented 3 months ago

As far as I am aware, HA doesn't differentiate between these types. Could you please link some docs regarding that?

HABen91 commented 3 months ago

Hey,Here are some links to HA Dokumentation:https://www.home-assistant.io/integrations/number/ https://www.home-assistant.io/integrations/input_number/ In the attached Screenshot you will find the offered options to manipulate the different "kinds" of Numbers.Am 26.03.2024 21:50 schrieb Marlon @.***>: As far as I am aware, HA doesn't differentiate between these types. Could you please link some docs regarding that?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

mawoka-myblock commented 3 months ago

That's not how it works. Here's a screenshot showing you how to achieve your goal: Screenshot_20240326-221903_Home Assistant

HABen91 commented 3 months ago

The issue hast not been understood. The offered solution allows only fixed values but not incremantally reacting on other criteria.

mawoka-myblock commented 3 months ago

Incrementing in watt-steps won't make sense as the inverter takes 1-2 seconds. Additionally, you seem to confuse the way HA integrations are built in contrast to helper integrations. There are 3 solutions:

  1. Use spook: https://spook.boo/number
  2. Use templates to increment the value
  3. Somebody spends time adding a custom service to this integration for this exact purpose and I won't be spending that time as I personally wouldn't benefit from that.