Blackymas / NSPanel_HA_Blueprint

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

Unable to server v4.2.3 Blueprint (crash with AttributeError: 'list' object has no attribute 'lower') `Bug` #1676

Closed bugtoo closed 9 months ago

bugtoo commented 9 months ago

TFT Version

4.2.3

ESPHome Version

4.2.3

Blueprint Version

4.2.3

Panel Model

NSPanel EU Model

What is the bug?

Panel gets stuck on boot sequence, unable to get Blueprint from HA

Steps to Reproduce

  1. Update Blueprint and ESPHome to v.4.2.3
  2. Reboot panel
  3. Stuck

Your panel's YAML

substitutions:
  ###### CHANGE ME START ######
  device_name: "nsp00ingresso" 
  wifi_ssid: "xxxxxx"
  wifi_password: "xxxxxx"

  nextion_update_url: "http://xxxxxx:8123/local/nspanel_eu.tft" # URL to local tft File

  ##### addon-configuration #####
  ## addon_climate ##
  # addon_climate_heater_relay: "1" # possible values: 1/2

  ##### CHANGE ME END #####

packages:
  remote_package:
    url: https://github.com/Blackymas/NSPanel_HA_Blueprint
    ref: main
    files:
      - nspanel_esphome.yaml # Core package
      # - advanced/esphome/nspanel_esphome_advanced.yaml # activate advanced (legacy) elements - can be useful for troubleshooting
      # - advanced/esphome/nspanel_esphome_addon_climate_cool.yaml # activate for local climate (cooling) control
      # - advanced/esphome/nspanel_esphome_addon_climate_heat.yaml # activate for local climate (heater) control
    refresh: 1s

esp32:
  framework:
    type: esp-idf

ESPHome logs

[00:17:20][I][app:102]: ESPHome version 2023.12.7 compiled on Jan 17 2024, 23:20:26
[00:17:20][C][wifi:573]: WiFi:
[00:17:20][C][wifi:405]:   Local MAC: [redacted]
[00:17:20][C][wifi:410]:   SSID: [redacted]
[00:17:20][C][wifi:411]:   IP Address: [redacted]
[00:17:20][C][wifi:413]:   BSSID: [redacted]
[00:17:20][C][wifi:414]:   Hostname: 'nsp00ingresso'
[00:17:20][C][wifi:416]:   Signal strength: -66 dB ▂▄▆█
[00:17:20][C][wifi:420]:   Channel: 1
[00:17:20][C][wifi:421]:   Subnet: [redacted]
[00:17:20][C][wifi:422]:   Gateway: [redacted]
[00:17:20][C][wifi:423]:   DNS1: [redacted]
[00:17:20][C][wifi:424]:   DNS2: [redacted]
[00:17:20][W][component:214]: Component api took a long time for an operation (0.06 s).
[00:17:20][W][component:215]: Components should block for at most 20-30ms.
[00:17:20][C][logger:439]: Logger:
[00:17:20][C][logger:440]:   Level: DEBUG
[00:17:20][C][logger:441]:   Log Baud Rate: 0
[00:17:20][C][logger:443]:   Hardware UART: UART0
[00:17:20][C][uart.idf:139]: UART Bus 0:
[00:17:20][C][uart.idf:140]:   TX Pin: GPIO16
[00:17:20][C][uart.idf:141]:   RX Pin: GPIO17
[00:17:20][C][uart.idf:143]:   RX Buffer Size: 256
[00:17:20][C][uart.idf:145]:   Baud Rate: 115200 baud
[00:17:20][C][uart.idf:146]:   Data Bits: 8
[00:17:20][C][uart.idf:147]:   Parity: NONE
[00:17:20][C][uart.idf:148]:   Stop bits: 1
[00:17:20][C][ledc.output:164]: LEDC Output:
[00:17:20][C][ledc.output:165]:   Pin GPIO21
[00:17:20][C][ledc.output:166]:   LEDC Channel: 0
[00:17:20][C][ledc.output:167]:   PWM Frequency: 1000.0 Hz
[00:17:20][C][ledc.output:168]:   Bit depth: 16
[00:17:21][W][component:214]: Component api took a long time for an operation (0.06 s).
[00:17:21][W][component:215]: Components should block for at most 20-30ms.
[00:17:21][C][template.binary_sensor:028]: Template Binary Sensor 'nsp00ingresso Nextion display'
[00:17:21][C][template.binary_sensor:028]:   Device Class: 'connectivity'
[00:17:21][C][template.number:050]: Template Number 'nsp00ingresso Display Brightness'
[00:17:21][C][template.number:050]:   Unit of Measurement: '%'
[00:17:21][C][template.number:051]:   Optimistic: YES
[00:17:21][C][template.number:052]:   Update Interval: 60.0s
[00:17:21][C][template.number:050]: Template Number 'nsp00ingresso Display Brightness Dimdown'
[00:17:21][C][template.number:050]:   Unit of Measurement: '%'
[00:17:21][C][template.number:051]:   Optimistic: YES
[00:17:21][C][template.number:052]:   Update Interval: 60.0s
[00:17:21][C][template.number:050]: Template Number 'nsp00ingresso Display Brightness Sleep'
[00:17:21][C][template.number:050]:   Unit of Measurement: '%'
[00:17:21][C][template.number:051]:   Optimistic: YES
[00:17:21][C][template.number:052]:   Update Interval: 60.0s
[00:17:21][C][template.number:050]: Template Number 'nsp00ingresso Temperature Correction'
[00:17:21][C][template.number:050]:   Unit of Measurement: '°C'
[00:17:21][C][template.number:051]:   Optimistic: YES
[00:17:21][C][template.number:052]:   Update Interval: 60.0s
[00:17:21][C][template.number:050]: Template Number 'nsp00ingresso Timeout Page'
[00:17:21][C][template.number:050]:   Icon: 'mdi:timer'
[00:17:21][C][template.number:050]:   Unit of Measurement: 's'
[00:17:21][C][template.number:051]:   Optimistic: YES
[00:17:21][C][template.number:052]:   Update Interval: 60.0s
[00:17:21][C][template.number:050]: Template Number 'nsp00ingresso Timeout Dimming'
[00:17:21][C][template.number:050]:   Icon: 'mdi:timer'
[00:17:21][C][template.number:050]:   Unit of Measurement: 's'
[00:17:21][C][template.number:051]:   Optimistic: YES
[00:17:21][C][template.number:052]:   Update Interval: 60.0s
[00:17:21][C][template.number:050]: Template Number 'nsp00ingresso Timeout Sleep'
[00:17:21][C][template.number:050]:   Icon: 'mdi:timer'
[00:17:21][C][template.number:050]:   Unit of Measurement: 's'
[00:17:21][C][template.number:051]:   Optimistic: YES
[00:17:21][C][template.number:052]:   Update Interval: 60.0s
[00:17:21][C][template.select:065]: Template Select 'nsp00ingresso Baud rate'
[00:17:21][C][template.select:065]:   Icon: 'mdi:swap-horizontal'
[00:17:21][C][template.select:066]:   Update Interval: 60.0s
[00:17:21][C][template.select:069]:   Optimistic: YES
[00:17:21][C][template.select:070]:   Initial Option: 115200
[00:17:21][C][template.select:071]:   Restore Value: YES
[00:17:21][C][template.select:065]: Template Select 'nsp00ingresso Wake-up page'
[00:17:21][C][template.select:065]:   Icon: 'mdi:page-next-outline'
[00:17:21][C][template.select:066]:   Update Interval: 60.0s
[00:17:21][C][template.select:069]:   Optimistic: YES
[00:17:21][C][template.select:070]:   Initial Option: home
[00:17:21][C][template.select:071]:   Restore Value: YES
[00:17:21][C][template.select:065]: Template Select 'nsp00ingresso Update TFT display - Branch'
[00:17:21][C][template.select:065]:   Icon: 'mdi:file-sync'
[00:17:21][C][template.select:066]:   Update Interval: 60.0s
[00:17:21][C][template.select:069]:   Optimistic: YES
[00:17:21][C][template.select:070]:   Initial Option: main
[00:17:21][C][template.select:071]:   Restore Value: YES
[00:17:21][C][template.select:065]: Template Select 'nsp00ingresso Update TFT display - Model'
[00:17:21][C][template.select:065]:   Icon: 'mdi:file-sync'
[00:17:21][C][template.select:066]:   Update Interval: 60.0s
[00:17:21][C][template.select:069]:   Optimistic: YES
[00:17:21][C][template.select:070]:   Initial Option: Use nextion_update_url
[00:17:21][C][template.select:071]:   Restore Value: YES
[00:17:21][C][template.text_sensor:020]: Template Sensor 'nsp00ingresso Detailed Entity'
[00:17:21][C][template.text_sensor:020]:   Icon: 'mdi:tablet-dashboard'
[00:17:21][C][template.text_sensor:020]: Template Sensor 'nsp00ingresso Current page'
[00:17:21][C][template.text_sensor:020]:   Icon: 'mdi:tablet-dashboard'
[00:17:21][C][template.text_sensor:020]: Template Sensor 'nsp00ingresso Notification Label'
[00:17:21][C][template.text_sensor:020]: Template Sensor 'nsp00ingresso Notification Text'
[00:17:21][C][switch.gpio:068]: GPIO Switch 'nsp00ingresso Relay 1'
[00:17:21][C][switch.gpio:091]:   Restore Mode: restore defaults to OFF
[00:17:21][C][switch.gpio:031]:   Pin: GPIO22
[00:17:21][C][switch.gpio:068]: GPIO Switch 'nsp00ingresso Relay 2'
[00:17:21][C][switch.gpio:091]:   Restore Mode: restore defaults to OFF
[00:17:21][C][switch.gpio:031]:   Pin: GPIO19
[00:17:22][C][gpio.binary_sensor:015]: GPIO Binary Sensor 'nsp00ingresso Left Button'
[00:17:22][C][gpio.binary_sensor:016]:   Pin: GPIO14
[00:17:22][C][gpio.binary_sensor:015]: GPIO Binary Sensor 'nsp00ingresso Right Button'
[00:17:22][C][gpio.binary_sensor:016]:   Pin: GPIO27
[00:17:22][C][switch.gpio:068]: GPIO Switch 'nsp00ingresso Nextion display - Power'
[00:17:22][C][switch.gpio:091]:   Restore Mode: always ON
[00:17:22][C][switch.gpio:031]:   Pin: GPIO4
[00:17:22][C][template.switch:068]: Template Switch 'nsp00ingresso Notification sound'
[00:17:22][C][template.switch:091]:   Restore Mode: restore defaults to OFF
[00:17:22][C][template.switch:057]:   Optimistic: YES
[00:17:22][C][template.switch:068]: Template Switch 'nsp00ingresso Relay 1 Local'
[00:17:22][C][template.switch:091]:   Restore Mode: restore defaults to OFF
[00:17:22][C][template.switch:057]:   Optimistic: YES
[00:17:22][C][template.switch:068]: Template Switch 'nsp00ingresso Relay 2 Local'
[00:17:22][C][template.switch:091]:   Restore Mode: restore defaults to OFF
[00:17:22][C][template.switch:057]:   Optimistic: YES
[00:17:22][C][template.switch:068]: Template Switch 'nsp00ingresso Notification unread'
[00:17:22][C][template.switch:091]:   Restore Mode: always OFF
[00:17:22][C][template.switch:057]:   Optimistic: YES
[00:17:22][C][rtttl:029]: Rtttl
[00:17:22][C][nextion:128]: Nextion:
[00:17:22][C][nextion:129]:   Device Model:     NX4832F035_011C
[00:17:22][C][nextion:130]:   Firmware Version: 72
[00:17:22][C][nextion:131]:   Serial Number:    B8B03401226FA373
[00:17:22][C][nextion:132]:   Flash Size:       16777216
[00:17:22][C][nextion:133]:   Wake On Touch:    YES
[00:17:22][C][nextion:134]:   Exit reparse:     YES
[00:17:22][C][restart.button:017]: Restart Button 'nsp00ingresso Restart'
[00:17:22][C][adc:097]: ADC Sensor 'ntc_source'
[00:17:22][C][adc:097]:   Device Class: 'voltage'
[00:17:22][C][adc:097]:   State Class: 'measurement'
[00:17:22][C][adc:097]:   Unit of Measurement: 'V'
[00:17:22][C][adc:097]:   Accuracy Decimals: 2
[00:17:22][C][adc:107]:   Pin: GPIO38
[00:17:22][C][adc:122]:  Attenuation: 11db
[00:17:22][C][adc:142]:   Update Interval: 60.0s
[00:17:22][C][resistance:010]: Resistance Sensor 'resistance_sensor'
[00:17:22][C][resistance:010]:   State Class: 'measurement'
[00:17:22][C][resistance:010]:   Unit of Measurement: 'Ω'
[00:17:22][C][resistance:010]:   Accuracy Decimals: 1
[00:17:22][C][resistance:010]:   Icon: 'mdi:flash'
[00:17:22][C][resistance:011]:   Configuration: DOWNSTREAM
[00:17:22][C][resistance:012]:   Resistor: 11200.00Ω
[00:17:22][C][resistance:013]:   Reference Voltage: 3.3V
[00:17:22][C][ntc:014]: NTC Sensor 'nsp00ingresso Temperature'
[00:17:22][C][ntc:014]:   Device Class: 'temperature'
[00:17:22][C][ntc:014]:   State Class: 'measurement'
[00:17:22][C][ntc:014]:   Unit of Measurement: '°C'
[00:17:22][C][ntc:014]:   Accuracy Decimals: 1
[00:17:22][D][sensor:094]: 'nsp00ingresso Display Current brightness': Sending state 100.00000 % with 0 decimals of accuracy
[00:17:22][D][sensor.current_brightness:1366]: Current brightness: 100%
[00:17:22][C][homeassistant.time:010]: Home Assistant Time:
[00:17:22][C][homeassistant.time:011]:   Timezone: 'CET-1CEST,M3.5.0,M10.5.0/3'
[00:17:23][C][status:034]: Status Binary Sensor 'nsp00ingresso Status'
[00:17:23][C][status:034]:   Device Class: 'connectivity'
[00:17:24][C][mdns:115]: mDNS:
[00:17:24][C][mdns:116]:   Hostname: nsp00ingresso
[00:17:24][C][ota:097]: Over-The-Air Updates:
[00:17:24][C][ota:098]:   Address: nsp00ingresso.local:3232
[00:17:24][C][ota:101]:   Using Password.
[00:17:24][C][api:139]: API Server:
[00:17:24][C][api:140]:   Address: nsp00ingresso.local:6053
[00:17:24][C][api:144]:   Using noise encryption: NO
[00:17:24][C][wifi_signal.sensor:009]: WiFi Signal 'nsp00ingresso RSSI'
[00:17:24][C][wifi_signal.sensor:009]:   Device Class: 'signal_strength'
[00:17:24][C][wifi_signal.sensor:009]:   State Class: 'measurement'
[00:17:24][C][wifi_signal.sensor:009]:   Unit of Measurement: 'dBm'
[00:17:24][C][wifi_signal.sensor:009]:   Accuracy Decimals: 0
[00:17:27][D][script.setup_sequence:2809]: Nextion setup sequence finished!
[00:17:27][D][nextion:464]: Got new page: 0
[00:17:27][D][display.disp1.on_page:716]: Nextion page changed
[00:17:27][D][display.disp1.on_page:717]: New page: home (0)
[00:17:27][D][text_sensor:064]: 'nsp00ingresso Current page': Sending state 'home'
[00:17:27][D][text_sensor:064]: 'nsp00ingresso Detailed Entity': Sending state ''
[00:17:27][D][script.page_changed:2110]: New page: home
[00:17:27][D][script:077]: Script 'timer_dim' restarting (mode: restart)
[00:17:27][D][sensor:094]: 'nsp00ingresso Page Id': Sending state 0.00000  with 0 decimals of accuracy
[00:17:27][D][sensor.page_id:1381]: New page Id: 0
[00:17:30][I][script.watchdog:3115]: Wi-Fi:         Fair (-67 dBm)
[00:17:30][I][script.watchdog:3135]: API:           Connected
[00:17:30][W][script.watchdog:3155]: Blueprint:     Pending
[00:17:30][I][script.watchdog:3156]: Requesting blueprint settings
[00:17:30][I][script.watchdog:3166]: ESPHome:
[00:17:30][I][script.watchdog:3167]:   Version:     4.2.3
[00:17:30][I][script.watchdog:3172]:   Framework:   esp-idf
[00:17:30][I][script.watchdog:3176]: UART:
[00:17:30][I][script.watchdog:3177]:   Baud rate:   115200 bps
[00:17:30][I][script.watchdog:3178]:   Queue size:  8
[00:17:30][I][script.watchdog:3182]: Nextion:
[00:17:30][I][script.watchdog:3183]:   Queue size:  2
[00:17:30][I][script.watchdog:3185]:   Is setup:    True
[00:17:30][I][script.watchdog:3192]:   Init:        True
[00:17:30][I][script.watchdog:3200]:   TFT:         4.2.3
[00:17:30][W][component:214]: Component api took a long time for an operation (0.06 s).
[00:17:30][W][component:215]: Components should block for at most 20-30ms.
[00:17:35][I][addon_upload_tft.script.report_settings:189]: TFT URL: http://[redacted]:8123/local/nspanel_eu.tft
[00:17:35][I][addon_upload_tft.script.report_settings:190]: Substitutions:
[00:17:35][I][addon_upload_tft.script.report_settings:191]:   nextion_update_url:        http://[redacted]:8123/local/nspanel_eu.tft
[00:17:35][I][addon_upload_tft.script.report_settings:192]:   nextion_update_base_url:   https://raw.githubusercontent.com/Blackymas/NSPanel_HA_Blueprint/
[00:17:35][I][addon_upload_tft.script.report_settings:193]:   upload_tft_chunk_size_max: 32768
[00:17:35][I][addon_upload_tft.script.report_settings:194]:   upload_tft_baud_rate:      921600
[00:17:57][D][script.set_brightness:2504]: brightness: 10%
[00:17:57][D][sensor:094]: 'nsp00ingresso Display Current brightness': Sending state 10.00000 % with 0 decimals of accuracy
[00:17:57][D][sensor.current_brightness:1366]: Current brightness: 10%
[00:18:02][D][sensor:094]: 'nsp00ingresso Display Current brightness': Sending state 10.00000 % with 0 decimals of accuracy
[00:18:02][D][sensor.current_brightness:1366]: Current brightness: 10%
[00:18:05][D][sensor:094]: 'nsp00ingresso RSSI': Sending state -66.00000 dBm with 0 decimals of accuracy
[00:18:09][D][sensor:094]: 'ntc_source': Sending state 2.19100 V with 2 decimals of accuracy
[00:18:09][D][resistance:039]: 'resistance_sensor' - Resistance 22127.3Ω
[00:18:09][D][sensor:094]: 'resistance_sensor': Sending state 22127.32227 Ω with 1 decimals of accuracy
[00:18:09][D][ntc:026]: 'nsp00ingresso Temperature' - Temperature: 8.1°C
[00:18:09][D][sensor:094]: 'nsp00ingresso Temperature': Sending state 8.13708 °C with 1 decimals of accuracy
[00:18:15][D][script.check_versions:1744]: ESPHome version: 4.2.3
[00:18:15][D][script.check_versions:1745]: TFT version: 4.2.3
[00:18:15][D][script.check_versions:1747]: Blueprint version: 
[00:18:15][E][script.check_versions:1748]: Blueprint version mismatch!
[00:18:15][D][script.check_versions:1756]: Framework: esp-idf
[00:18:15][D][script.check_versions:1757]: Baud rate: 115200
[00:18:27][D][script.timer_sleep:2967]: Going to sleep from page home
[00:18:27][D][script.set_brightness:2504]: brightness: 0%
[00:18:27][D][nextion:464]: Got new page: 9
[00:18:27][D][display.disp1.on_page:716]: Nextion page changed
[00:18:27][D][display.disp1.on_page:717]: New page: screensaver (9)
[00:18:27][D][text_sensor:064]: 'nsp00ingresso Current page': Sending state 'screensaver'
[00:18:27][D][text_sensor:064]: 'nsp00ingresso Detailed Entity': Sending state ''
[00:18:27][D][script.page_changed:2110]: New page: screensaver
[00:18:27][D][sensor:094]: 'nsp00ingresso Display Current brightness': Sending state 0.00000 % with 0 decimals of accuracy
[00:18:27][D][sensor.current_brightness:1366]: Current brightness: 0%
[00:18:27][D][sensor:094]: 'nsp00ingresso Page Id': Sending state 9.00000  with 0 decimals of accuracy
[00:18:27][D][sensor.page_id:1381]: New page Id: 9
[00:18:27][D][sensor:094]: 'nsp00ingresso Display Current brightness': Sending state 0.00000 % with 0 decimals of accuracy
[00:18:27][D][sensor.current_brightness:1366]: Current brightness: 0%
[00:18:30][I][script.watchdog:3115]: Wi-Fi:         Fair (-66 dBm)
[00:18:30][I][script.watchdog:3135]: API:           Connected
[00:18:30][W][script.watchdog:3155]: Blueprint:     Pending
[00:18:30][I][script.watchdog:3156]: Requesting blueprint settings
[00:18:30][I][script.watchdog:3166]: ESPHome:
[00:18:30][I][script.watchdog:3167]:   Version:     4.2.3
[00:18:30][I][script.watchdog:3172]:   Framework:   esp-idf
[00:18:30][I][script.watchdog:3176]: UART:
[00:18:30][I][script.watchdog:3177]:   Baud rate:   115200 bps
[00:18:30][I][script.watchdog:3178]:   Queue size:  8
[00:18:30][I][script.watchdog:3182]: Nextion:
[00:18:30][I][script.watchdog:3183]:   Queue size:  2
[00:18:30][I][script.watchdog:3185]:   Is setup:    True
[00:18:30][I][script.watchdog:3192]:   Init:        True
[00:18:30][I][script.watchdog:3200]:   TFT:         4.2.3
[00:18:30][W][component:214]: Component api took a long time for an operation (0.06 s).
[00:18:30][W][component:215]: Components should block for at most 20-30ms.
[00:18:32][D][sensor:094]: 'nsp00ingresso Display Current brightness': Sending state 0.00000 % with 0 decimals of accuracy
[00:18:32][D][sensor.current_brightness:1366]: Current brightness: 0%
[00:19:05][D][sensor:094]: 'nsp00ingresso RSSI': Sending state -68.00000 dBm with 0 decimals of accuracy
[00:19:09][D][sensor:094]: 'ntc_source': Sending state 2.19100 V with 2 decimals of accuracy
[00:19:09][D][resistance:039]: 'resistance_sensor' - Resistance 22127.3Ω
[00:19:09][D][sensor:094]: 'resistance_sensor': Sending state 22127.32227 Ω with 1 decimals of accuracy
[00:19:09][D][ntc:026]: 'nsp00ingresso Temperature' - Temperature: 8.1°C
[00:19:09][D][sensor:094]: 'nsp00ingresso Temperature': Sending state 8.13708 °C with 1 decimals of accuracy
[00:19:30][I][script.watchdog:3115]: Wi-Fi:         Fair (-68 dBm)
[00:19:30][I][script.watchdog:3135]: API:           Connected
[00:19:30][W][script.watchdog:3155]: Blueprint:     Pending
[00:19:30][I][script.watchdog:3156]: Requesting blueprint settings
[00:19:30][I][script.watchdog:3166]: ESPHome:
[00:19:30][I][script.watchdog:3167]:   Version:     4.2.3
[00:19:30][I][script.watchdog:3172]:   Framework:   esp-idf
[00:19:30][I][script.watchdog:3176]: UART:
[00:19:30][I][script.watchdog:3177]:   Baud rate:   115200 bps
[00:19:30][I][script.watchdog:3178]:   Queue size:  8
[00:19:30][I][script.watchdog:3182]: Nextion:
[00:19:30][I][script.watchdog:3183]:   Queue size:  2
[00:19:30][I][script.watchdog:3185]:   Is setup:    True
[00:19:30][I][script.watchdog:3192]:   Init:        True
[00:19:30][I][script.watchdog:3200]:   TFT:         4.2.3
[00:19:30][W][component:214]: Component api took a long time for an operation (0.06 s).
[00:19:30][W][component:215]: Components should block for at most 20-30ms.

Home Assistant logs

Logger: homeassistant.components.automation.nsp00ingresso
Source: components/automation/__init__.py:690
Integration: Automation (documentation, issues)
First occurred: January 17, 2024 at 11:35:46 PM (64 occurrences)
Last logged: 12:20:30 AM
Error while executing automation automation.nsp00ingresso: AttributeError: 'list' object has no attribute 'lower'

Logger: homeassistant.components.automation.nsp00ingresso
Source: helpers/script.py:1792
Integration: Automation ([documentation](https://www.home-assistant.io/integrations/automation), [issues](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+automation%22))
First occurred: January 17, 2024 at 11:35:46 PM (258 occurrences)
Last logged: 12:25:31 AM

    nsp00ingresso: Main choices: Boot init: Error executing script. Error rendering template for if at pos 1: AttributeError: 'list' object has no attribute 'lower'
    nsp00ingresso: Main choices: NSPanel event: Choose at step 2: Boot init: If at step 1: Error executing script. Error rendering template for variables at pos 15: AttributeError: 'list' object has no attribute 'lower'
    nsp00ingresso: Main choices: NSPanel event: Choose at step 2: Boot init: Error executing script. Error rendering template for if at pos 1: AttributeError: 'list' object has no attribute 'lower'
    nsp00ingresso: Main choices: NSPanel event: Error executing script. Error rendering template for choose at pos 2: AttributeError: 'list' object has no attribute 'lower'
    nsp00ingresso: Error executing script. Error rendering template for choose at pos 2: AttributeError: 'list' object has no attribute 'lower'
edwardtfn commented 9 months ago

Quick question... do you have a Climate selected in your Blueprint settings?

bugtoo commented 9 months ago

@edwardtfn No, but on the panels where I do have one it works correctly. So the issue is only with panels without a climate entity selected

edwardtfn commented 9 months ago

I have a fix for this already in dev and will be included in the next release soon. I will close this for now, but please feel free to reopen if the issue persist after your attempt with the fixed version.

edwardtfn commented 9 months ago

v4.2.4 was released.

Pheerink commented 9 months ago

I have a simular problem only I use already V4.2.4. I have moved a working NSpanel form DEV to PROD and since then I have that problem. Tried evrything to get it right. Reinstalled several times the software TFT Blueprint etc. Nothing works. The NSpanle shows only the time. It is however controllable from the Device panel. One remark I never had to set a manual IP for the NSPanel. If I want to update I need to set a manual IP adrress otherwise the panel isn't found by HA.

Last part of the log

[D][sensor:094]: 'mynewnspanel RSSI': Sending state -61.00000 dBm with 0 decimals of accuracy [21:15:26][D][sensor:094]: 'ntc_source': Sending state 1.56400 V with 2 decimals of accuracy [21:15:26][D][resistance:039]: 'resistance_sensor' - Resistance 10090.3Ω [21:15:26][D][sensor:094]: 'resistance_sensor': Sending state 10090.32324 Ω with 1 decimals of accuracy [21:15:26][D][ntc:026]: 'mynewnspanel Temperature' - Temperature: 24.8°C [21:15:26][D][sensor:094]: 'mynewnspanel Temperature': Sending state 24.79778 °C with 1 decimals of accuracy [21:15:30][I][script.watchdog:3115]: Wi-Fi: Fair (-61 dBm) [21:15:30][I][script.watchdog:3135]: API: Connected

[21:15:30][W][script.watchdog:3155]: Blueprint: Pending

[21:15:30][I][script.watchdog:3156]: Requesting blueprint settings

[21:15:30][I][script.watchdog:3167]: Version: 4.2.4 [21:15:30][I][script.watchdog:3172]: Framework: esp-idf

[21:15:30][I][script.watchdog:3177]: Baud rate: 115200 bps [21:15:30][I][script.watchdog:3178]: Queue size: 8

[21:15:30][I][script.watchdog:3183]: Queue size: 2 [21:15:30][I][script.watchdog:3185]: Is setup: True [21:15:30][I][script.watchdog:3192]: Init: True [21:15:30][I][script.watchdog:3200]: TFT: 4.2.4 [21:16:04][D][sensor:094]: 'mynewnspanel RSSI': Sending state -60.00000 dBm with 0 decimals of accuracy

Anyone an idea ???

bugtoo commented 9 months ago

@Pheerink I think it is because the prod network you moved your panel to is probably not in the same segment as HA, therefore mdns is not working between HA and the Panel. Try to move the panel back to the same network segment as the HA interface and see if it is resolved.

Pheerink commented 9 months ago

Both HA instances (2 computers) are on the same network. The NSpanel IP has not changed!!

edwardtfn commented 9 months ago

Could you please report this as a new issue to make it easier for tracking? Also, it would be nice if you can look for error logs related to this on HA.