Blackymas / NSPanel_HA_Blueprint

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

`Bug` zigbee thermostat entity on custom button broken with 4.3.5 #2080

Closed MichaelHeimann closed 3 weeks ago

MichaelHeimann commented 3 weeks ago

TFT Version

4.3.5

ESPHome Version

4.3.5

Blueprint Version

4.3.5

Panel Model

EU

What is the bug?

I've added a zigbee thermostat entity on my (prebuilt) panel for testing and making a video of it working here but now with 4.3.5 it's not giving me a thermostat popup - it's doing nothing.

Steps to Reproduce

1) assign remote thermostat entity to a button on the homepage. 2) tap it

Your Panel's YAML

blueprint yaml (no panel yaml since it's a prebuilt):

alias: prebuilt NSPane Test
description: ""
use_blueprint:
  path: Blackymas/prebuilt_nspanel_blueprint.yaml
  input:
    nspanel_name: b3ca5bdd9c086f2cd49192f22edf7df8
    language: de
    weather_entity: weather.zuhause
    home_value04: sensor.balkonkraftwerk_em_energy_power_0
    home_value04_icon: mdi:solar-power
    home_value04_icon_color:
      - 255
      - 255
      - 0
    climate: climate.nspanel_1d3e54_thermostat
    time_format: "%-H:%M"
    timezone: Europe/Berlin (CET-1CEST,M3.5.0,M10.5.0/3)
    home_custom_button01: climate.badthermostat
    home_custom_button01_icon: ""
    home_custom_button02: light.buro_deckenlampe
    home_custom_button03: light.wz_et_unten

ESPHome Logs

[02:42:10][D][nextion:457]: Got touch event:
[02:42:10][D][nextion:458]:   page_id:      1
[02:42:10][D][nextion:459]:   component_id: 35
[02:42:10][D][nextion:460]:   event type:   PRESS
[02:42:10][D][script.timer_dim:3214]: Waking up on page: home
[02:42:10][D][sensor:094]: 'Display Current brightness': Sending state 100.00000 % with 0 decimals of accuracy
[02:42:10][D][nextion:457]: Got touch event:
[02:42:10][D][nextion:458]:   page_id:      1
[02:42:10][D][nextion:459]:   component_id: 35
[02:42:10][D][nextion:460]:   event type:   RELEASE
[02:42:10][D][script:077]: Script 'timer_dim' restarting (mode: restart)
[02:42:10][D][text_sensor:064]: 'NSPanel local event': Sending state '{"page": "home", "event": "short_click", "component": "button01"}'
[02:42:10][D][script:077]: Script 'timer_dim' restarting (mode: restart)
[02:42:10][D][nextion_textsensor:014]: Processed text_sensor "localevent" state "{"page": "home", "event": "short_click", "component": "button01"}"
[02:42:11][D][sensor:094]: 'ntc_source': Sending state 1.50067 V with 2 decimals of accuracy
[02:42:11][D][resistance:039]: 'resistance_sensor' - Resistance 9340.9Ω
[02:42:11][D][sensor:094]: 'resistance_sensor': Sending state 9340.94043 Ω with 1 decimals of accuracy
[02:42:11][D][ntc:026]: 'Temperature' - Temperature: 26.5°C
[02:42:11][D][sensor:094]: 'Temperature': Sending state 26.54226 °C with 1 decimals of accuracy
[02:42:11][D][climate:396]: 'Thermostat' - Sending state:
[02:42:11][D][climate:399]:   Mode: OFF
[02:42:11][D][climate:401]:   Action: OFF
[02:42:11][D][climate:419]:   Current Temperature: 26.54°C
[02:42:11][D][climate:425]:   Target Temperature: 18.00°C

Home Assistant Logs

No response

MichaelHeimann commented 3 weeks ago

https://github.com/Blackymas/NSPanel_HA_Blueprint/assets/3189562/7fded8d7-6352-4161-899a-c053bbb54d0c

Other buttons work, internal thermostat works. zigbee thermostat doesn't.

edwardtfn commented 3 weeks ago

Can you see any error message on your Home Assistant logs (Settings > System > Logs)?

edwardtfn commented 3 weeks ago

Fixed on dev. I will try to release it later today.