Blackymas / NSPanel_HA_Blueprint

This allows you to configure your complete NSPanel via Blueprint with UI and without changing anything in the code
1.38k stars 253 forks source link

`DEV` The buttons on the climate page apparently no longer exist. #1481

Closed edwardtfn closed 8 months ago

edwardtfn commented 8 months ago

so, it looks very good. At least it looks almost the same as before. The icons now also change

I still have the following questions/suggestions:

shouldn't it be value03 for example? Unfortunately that doesn't work.

_Originally posted by @kroessig in https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/963#issuecomment-1868296186_

edwardtfn commented 8 months ago

@kroessig, I've made changes on the page climate on dev. Could you please try it again and let me know if you still having this issue?

kroessig commented 8 months ago

i tried to install the new dev-version, Validation is OK, but wireless install not:

''' INFO ESPHome 2023.12.5 INFO Reading configuration /config/esphome/nspanelwoziblueprint.yaml... INFO Updating https://github.com/Blackymas/NSPanel_HA_Blueprint@dev INFO Detected timezone 'Europe/Berlin' INFO Generating C++ source... INFO Compiling app... Processing panelwozi (board: esp32dev; framework: espidf; platform: platformio/espressif32@5.4.0)

HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash

edwardtfn commented 8 months ago

Try to clean-up your build files and then install it again.

kroessig commented 8 months ago

ok, update sucessfull. but.... have you fundamentally changed the function of the two buttons? I linked an automation to each button and was able to control my offset with the automation (example below). In the "old" version I was able to change the value between -5 and 5 by pressing the same button multiple times. Now i deactivate the automation by pressing the button....

alias: Korrektur Heizung +1
description: ""
trigger: []
condition:
  - condition: numeric_state
    entity_id: number.luxtronik2_heating_target_correction
    below: 5
action:
  - service: number.set_value
    target:
      entity_id: number.luxtronik2_heating_target_correction
    data_template:
      value: >-
        {{ (states('number.luxtronik2_heating_target_correction') |
        float(default=0)) + 1 }}
mode: single
edwardtfn commented 8 months ago

Yes, the default behavior of automations associated to buttons has changed, but you have a selector on the blueprints to adjust that.

Please take a look at this discussion: https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/810#discussioncomment-7596539

edwardtfn commented 8 months ago

Ideally you should use a script for this, as a script is basically an automation without a trigger (like in your case), but is you wanna keep it as an automation, just change the setting in the Blueprint and it will work just like before.

kroessig commented 8 months ago

;-)
Of course I didn't look at the bottom of the blueprint. now everything works fine!!!!

And I agree with you about the usage of a script