Closed magnusoverli closed 1 year ago
I think it is realted to this part of your config:
screensaver:
entities:
- entity:
try
screensaver:
entities:
- entity: delete
instead if you want to have that empty.
(Even though error handling should be improved here.)
Yeah, that was it! :-)
Thanks a bunch for spotting that!
PROBLEM DESCRIPTION
A clear and concise description of what the problem is. One of two NSpanels are failing to start, with "Waiting for content" on the screen.
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
2023-03-06 09:31:44.073349 INFO nspanel-2: Sending MQTT Message: pageType~pageStartup 2023-03-06 09:31:44.082349 WARNING nspanel-2: ------------------------------------------------------------ 2023-03-06 09:31:44.082462 WARNING nspanel-2: Unexpected error running initialize() for nspanel-2 2023-03-06 09:31:44.082578 WARNING nspanel-2: ------------------------------------------------------------ 2023-03-06 09:31:44.083195 WARNING nspanel-2: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/appdaemon/app_management.py", line 165, in initialize_app await utils.run_in_executor(self, init) File "/usr/lib/python3.10/site-packages/appdaemon/utils.py", line 337, in run_in_executor response = future.result() File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/config/appdaemon/apps/nspanel-lovelace-ui/nspanel-lovelace-ui.py", line 27, in initialize controller = LuiController(cfg, mqttsend.send_mqtt_msg) File "/config/appdaemon/apps/nspanel-lovelace-ui/luibackend/controller.py", line 27, in init self.register_callbacks() File "/config/appdaemon/apps/nspanel-lovelace-ui/luibackend/controller.py", line 148, in register_callbacks items = [x for x in items if not x.startswith(prefixes)] File "/config/appdaemon/apps/nspanel-lovelace-ui/luibackend/controller.py", line 148, in
items = [x for x in items if not x.startswith(prefixes)]
AttributeError: 'NoneType' object has no attribute 'startswith'
substitutions: node_name: livingroom-nspanel friendly_devicename: Livingroom NSpanel panel_recv_topic: "tele/nspanel_2/RESULT" panel_send_topic: "cmnd/nspanel_2/CustomSend"
external_components:
nspanel_lovelace: id: nspanel mqtt_recv_topic: $panel_recv_topic mqtt_send_topic: $panel_send_topic
esphome: name: $node_name comment: $friendly_devicename
esp32: board: esp32dev framework: type: arduino
uart: tx_pin: 16 rx_pin: 17 baud_rate: 115200
wifi: ssid: !secret wifi_ssid password: !secret wifi_password use_address: 192.168.5.181
mqtt: id: mqtt_client broker: !secret mqtt_ip username: !secret mqtt_username password: !secret mqtt_password