joBr99 / nspanel-lovelace-ui

Custom Firmware for NsPanel with the design of HomeAssistant's lovelace UI in mind, works with Tasmota.
GNU General Public License v3.0
869 stars 188 forks source link

[BUG] apps.yaml error (appdeamon 0.13.0 NSPanel Lovelace UI 4.1.1) Unexpected error running initialize() #900

Closed lmbalcao closed 1 year ago

lmbalcao commented 1 year ago

PROBLEM DESCRIPTION

starting appdaemon with only screensaver and apps\CardAlarm, nspanel boots without problem, if i add any other cards i get a error.

REQUESTED INFORMATION

Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!


### TO REPRODUCE
making app.yaml with secreensaver and apps\cardalarm works.
adding apps\cardgrid or cardqr or cardmedia (or all) will prevent the config to be injected in nspanel

### EXPECTED BEHAVIOUR
is expected that nspanel boots with apps.yaml config

### SCREENSHOTS
_If applicable, add screenshots/pictures to help explain your problem._

### ADDITIONAL CONTEXT
_Add any other context about the problem here._
_Please note here in case you are using ioBroker_

### PANEL / FIRMWARE VERION
Program Version 12.5.0(tasmota32)

2023-04-17T08:07:16 2_0_7/4.4.4.20230310 0T01:45:58 5188 102 Software reset CPU       hassio 8 (80%, -60 dBm) 11n nspanel-cozinha-0284 2001:818:d80b:4400:4617:93ff:fe7c:11c fe80::4617:93ff:fe7c:11c 44:17:93:7C:01:1C 192.168.1.78 192.168.1.1 255.255.255.0 192.168.1.100 192.168.1.1   Enabled   192.168.1.101 1883 Disabled mqttuser DVES_7C011C nspanel_cozinha cmnd/tasmotas/ cmnd/nspanel_cozinha/ cmnd/DVES_7C011C_fb/ Disabled   None   8126748 (ESP32-D0WD-V3 rev.3) 0x16405E (DOUT) 4096 KB 4096 KB 1525 KB 1856 KB 126.5 KB (frag. 13%)   1856 KB 1856 KB (used 82%) 320 KB

joBr99 commented 1 year ago

replace this empty entity with delete

          - entity:
            name: Aspirar Casa
          - entity: delete
            name: Aspirar Casa

Updating to 4.1.2 should also fix the issue.