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
853 stars 187 forks source link

[BUG] Display suddently black #1219

Open spunkt123 opened 2 months ago

spunkt123 commented 2 months ago

PROBLEM DESCRIPTION

A clear and concise description of what the problem is. I have two NSPanels with NSPanel-Lovelace-UI. Suddently the displays of both of them are off/black. The buttons und sensors work, only the displays do not work. I am not shure, when this happened. I turned of the circuit of the NSPanels but i also updated Homeassistant at this time - Perhaps one of that caused the problem.

REQUESTED INFORMATION

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

- [ ] Go to Settings>Add-ons>AppDaemon>Log (or the output of your TS script) and then, provide the output of the log during your issue/bug occurs:

Log output here: 2024-04-27 21:56:52.224372 INFO AppDaemon: AppDaemon Version 4.4.2 starting 2024-04-27 21:56:52.224589 INFO AppDaemon: Python version is 3.10.11 2024-04-27 21:56:52.224815 INFO AppDaemon: Configuration read from: /conf/appdaemon.yaml 2024-04-27 21:56:52.224949 INFO AppDaemon: Added log: AppDaemon 2024-04-27 21:56:52.225106 INFO AppDaemon: Added log: Error 2024-04-27 21:56:52.225238 INFO AppDaemon: Added log: Access 2024-04-27 21:56:52.225368 INFO AppDaemon: Added log: Diag 2024-04-27 21:56:52.252720 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin 2024-04-27 21:56:52.274628 INFO HASS: HASS Plugin Initializing 2024-04-27 21:56:52.274857 INFO HASS: HASS Plugin initialization complete 2024-04-27 21:56:52.275189 INFO AppDaemon: Loading Plugin MQTT using class MqttPlugin from module mqttplugin 2024-04-27 21:56:52.283352 INFO MQTT: MQTT Plugin Initializing 2024-04-27 21:56:52.283559 INFO MQTT: Using 'appdaemon/status' as Will Topic 2024-04-27 21:56:52.283698 INFO MQTT: Using 'appdaemon/status' as Birth Topic 2024-04-27 21:56:52.284196 INFO AppDaemon: Initializing HTTP 2024-04-27 21:56:52.284502 INFO AppDaemon: Using 'ws' for event stream 2024-04-27 21:56:52.316466 INFO AppDaemon: Starting API 2024-04-27 21:56:52.319284 INFO AppDaemon: Starting Admin Interface 2024-04-27 21:56:52.319641 INFO AppDaemon: Starting Dashboards 2024-04-27 21:56:52.331800 INFO HASS: Connected to Home Assistant 2024.4.4 2024-04-27 21:56:52.341714 INFO MQTT: Connected to Broker at URL mosquitto:1883 2024-04-27 21:56:52.425324 INFO HASS: Evaluating startup conditions 2024-04-27 21:56:52.437940 INFO HASS: Startup condition met: hass state=RUNNING 2024-04-27 21:56:52.438220 INFO HASS: All startup conditions met 2024-04-27 21:56:52.444543 INFO AppDaemon: Got initial state from namespace mqtt 2024-04-27 21:56:52.444920 INFO MQTT: MQTT Plugin initialization complete 2024-04-27 21:56:52.512602 INFO AppDaemon: Got initial state from namespace default 2024-04-27 21:56:52.572546 INFO AppDaemon: App 'nspanel-bad-og' added 2024-04-27 21:56:52.573982 INFO AppDaemon: App 'nspanel-schlafzimmer' added 2024-04-27 21:56:52.574700 INFO AppDaemon: Found 2 active apps 2024-04-27 21:56:52.574906 INFO AppDaemon: Found 0 inactive apps 2024-04-27 21:56:52.575119 INFO AppDaemon: Found 0 global libraries 2024-04-27 21:56:52.575337 INFO AppDaemon: Starting Apps with 2 workers and 2 pins 2024-04-27 21:56:52.576317 INFO AppDaemon: Running on port 5050 2024-04-27 21:56:53.581939 INFO AppDaemon: Scheduler running in realtime 2024-04-27 21:56:53.585145 INFO AppDaemon: Adding /conf/apps to module import path 2024-04-27 21:56:53.585469 INFO AppDaemon: Adding /conf/apps/nspanel-lovelace-ui to module import path 2024-04-27 21:56:53.585779 INFO AppDaemon: Adding /conf/apps/nspanel-lovelace-ui/luibackend to module import path 2024-04-27 21:56:53.586084 INFO AppDaemon: Adding /conf/apps/nspanel-lovelace-ui/luibackend/translations to module import path 2024-04-27 21:56:53.586418 INFO AppDaemon: Adding /conf/apps/nspanel-lovelace-ui/luibackend/translations/backend to module import path 2024-04-27 21:56:53.586777 INFO AppDaemon: Adding /conf/apps/nspanel-lovelace-ui/luibackend/translations/frontend to module import path 2024-04-27 21:56:53.596620 INFO AppDaemon: Loading App Module: /conf/apps/nspanel-lovelace-ui/nspanel-lovelace-ui.py 2024-04-27 21:56:53.626725 WARNING AppDaemon: No app description found for: /conf/apps/nspanel-lovelace-ui/luibackend/apis.py - ignoring 2024-04-27 21:56:53.627574 WARNING AppDaemon: No app description found for: /conf/apps/nspanel-lovelace-ui/luibackend/icon_mapping.py - ignoring 2024-04-27 21:56:53.628347 WARNING AppDaemon: No app description found for: /conf/apps/nspanel-lovelace-ui/luibackend/helper.py - ignoring 2024-04-27 21:56:53.629195 WARNING AppDaemon: No app description found for: /conf/apps/nspanel-lovelace-ui/luibackend/icons.py - ignoring 2024-04-27 21:56:53.629909 WARNING AppDaemon: No app description found for: /conf/apps/nspanel-lovelace-ui/luibackend/pages.py - ignoring 2024-04-27 21:56:53.630628 WARNING AppDaemon: No app description found for: /conf/apps/nspanel-lovelace-ui/luibackend/config.py - ignoring 2024-04-27 21:56:53.631319 WARNING AppDaemon: No app description found for: /conf/apps/nspanel-lovelace-ui/luibackend/localization.py - ignoring 2024-04-27 21:56:53.632005 WARNING AppDaemon: No app description found for: /conf/apps/nspanel-lovelace-ui/luibackend/theme.py - ignoring 2024-04-27 21:56:53.632711 WARNING AppDaemon: No app description found for: /conf/apps/nspanel-lovelace-ui/luibackend/controller.py - ignoring 2024-04-27 21:56:53.633430 WARNING AppDaemon: No app description found for: /conf/apps/nspanel-lovelace-ui/luibackend/mqtt.py - ignoring 2024-04-27 21:56:53.634188 WARNING AppDaemon: No app description found for: /conf/apps/nspanel-lovelace-ui/luibackend/updater.py - ignoring 2024-04-27 21:56:53.634795 INFO AppDaemon: Loading app nspanel-bad-og using class NsPanelLovelaceUIManager from module nspanel-lovelace-ui 2024-04-27 21:56:53.637660 INFO AppDaemon: Loading app nspanel-schlafzimmer using class NsPanelLovelaceUIManager from module nspanel-lovelace-ui 2024-04-27 21:56:53.641291 INFO AppDaemon: Calling initialize() for nspanel-bad-og 2024-04-27 21:56:53.752744 INFO nspanel-bad-og: Starting 2024-04-27 21:56:53.757280 INFO nspanel-bad-og: Input config: {'panelRecvTopic': 'nspanel/nspanel-bad-og/appdaemon/Result', 'panelSendTopic': 'nspanel/nspanel-bad-og/appdaemon/CustomSend', 'model': 'eu', 'updateMode': 'auto-notify', 'defaultBackgroundColor': 'ha-dark', 'sleepBrightness': [{'time': 'sunrise', 'value': 40}], 'sleepOverride': {'entity': 'switch.shellyswitch1_badog', 'brightness': 60}, 'screenBrightness': [{'time': 'sunrise', 'value': 100}, {'time': 'sunset + 1:00:00', 'value': 60}], 'locale': 'de_DE', 'screensaver': {'type': 'screensaver2', 'entities': [{'entity': 'weather.forecast_homeassistant', 'color': '{{ iif(states("weather.forecast_homeassistant")=="sunny", "[255, 235, 59]", "[180,180,180]") }}'}, {'entity': 'sensor.forecast_homeassistant_hourly', 'value': '{{ state_attr("sensor.forecast_homeassistant_hourly","forecast") | map(attribute="temperature") | min }}°C', 'icon': 'ha:{{ iif(state_attr("sensor.forecast_homeassistant_hourly","forecast") | map(attribute="temperature") | min | float<4, "mdi:snowflake", "mdi:thermometer-lines") }}', 'color': '{{ iif(state_attr("sensor.forecast_homeassistant_hourly","forecast") | map(attribute="temperature") | min | float<4, "[102,201,255]", iif(state_attr("sensor.forecast_homeassistant_hourly","forecast") | map(attribute="temperature") | min | float>16, "[255,128,0]", "[255,255,255]") ) }}'}, {'entity': 'sensor.forecast_homeassistant_hourly', 'value': '{{ state_attr("sensor.forecast_homeassistant_hourly","forecast")[0].humidity }}% rel.', 'icon': 'mdi:percent-circle-outline', 'color': [255, 255, 255]}, {'entity': 'sensor.forecast_homeassistant_hourly', 'value': '{{ state_attr("sensor.forecast_homeassistant_hourly","forecast")[0].precipitation }}mm', 'icon': 'mdi:water-outline', 'color': '{{ iif(state_attr("sensor.forecast_homeassistant_hourly","forecast")[0].precipitation | float>10, "[102,201,255]", "[255,255,255]") }}'}, {'entity': 'sensor.forecast_homeassistant_hourly', 'name': '{{ as_timestamp(state_attr("sensor.forecast_homeassistant_hourly","forecast")[0].datetime) | timestamp_custom("%H:%M",local=true) }}', 'value': '{{ state_attr("sensor.forecast_homeassistant_hourly","forecast")[0].temperature }}', 'icon': 'ha:{{ "mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[0].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ ""}}', 'color': '{{ iif(state_attr("sensor.forecast_homeassistant_hourly","forecast")[0].condition=="sunny", "[255, 235, 59]", "[180,180,180]") }}'}, {'entity': 'sensor.forecast_homeassistant_hourly', 'name': '{{ as_timestamp(state_attr("sensor.forecast_homeassistant_hourly","forecast")[1].datetime) | timestamp_custom("%H:%M",local=true) }}', 'value': '{{ state_attr("sensor.forecast_homeassistant_hourly","forecast")[1].temperature }}', 'icon': 'ha:{{ "mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[1].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ ""}}', 'color': '{{ iif(state_attr("sensor.forecast_homeassistant_hourly","forecast")[1].condition=="sunny", "[255, 235, 59]", "[180,180,180]") }}'}, {'entity': 'sensor.forecast_homeassistant_hourly', 'name': '{{ as_timestamp(state_attr("sensor.forecast_homeassistant_hourly","forecast")[2].datetime) | timestamp_custom("%H:%M",local=true) }}', 'value': '{{ state_attr("sensor.forecast_homeassistant_hourly","forecast")[2].temperature }}', 'icon': 'ha:{{ "mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[2].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ ""}}', 'color': '{{ iif(state_attr("sensor.forecast_homeassistant_hourly","forecast")[2].condition=="sunny", "[255, 235, 59]", "[180,180,180]") }}'}, {'entity': 'sensor.forecast_homeassistant_hourly', 'name': '{{ as_timestamp(state_attr("sensor.forecast_homeassistant_hourly","forecast")[3].datetime) | timestamp_custom("%H:%M",local=true) }}', 'value': '{{ state_attr("sensor.forecast_homeassistant_hourly","forecast")[3].temperature }}', 'icon': 'ha:{{ "mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[3].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ ""}}', 'color': '{{ iif(state_attr("sensor.forecast_homeassistant_hourly","forecast")[3].condition=="sunny", "[255, 235, 59]", "[180,180,180]") }}'}, {'entity': 'sensor.forecast_homeassistant_hourly', 'name': '{{ as_timestamp(state_attr("sensor.forecast_homeassistant_hourly","forecast")[4].datetime) | timestamp_custom("%H:%M",local=true) }}', 'value': '{{ state_attr("sensor.forecast_homeassistant_hourly","forecast")[4].temperature }}', 'icon': 'ha:{{ "mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[4].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ ""}}', 'color': '{{ iif(state_attr("sensor.forecast_homeassistant_hourly","forecast")[4].condition=="sunny", "[255, 235, 59]", "[180,180,180]") }}'}, {'entity': 'sensor.forecast_homeassistant_hourly', 'name': '{{ as_timestamp(state_attr("sensor.forecast_homeassistant_hourly","forecast")[5].datetime) | timestamp_custom("%H:%M",local=true) }}', 'value': '{{ state_attr("sensor.forecast_homeassistant_hourly","forecast")[5].temperature }}', 'icon': 'ha:{{ "mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[5].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ ""}}', 'color': '{{ iif(state_attr("sensor.forecast_homeassistant_hourly","forecast")[5].condition=="sunny", "[255, 235, 59]", "[180,180,180]") }}'}, {'entity': 'delete'}, {'entity': 'delete'}, {'entity': 'delete'}, {'entity': 'delete'}, {'entity': 'binary_sensor.lumidoor_badog_contact', 'icon': 'mdi:window-open-variant', 'state': 'on'}], 'statusIcon1': {'entity': 'switch.nspanel_bad_og_relais_1', 'icon': 'ha:{{ states("sensor.nspanel_bad_og_temperatur") | round(1) }}°', 'color': '{{ iif(is_state("switch.tuyaswitch_thermostat_modus","on"), iif(is_state("switch.nspanel_bad_og_relais_1","on"), "[102,201,255]", "[255,255,255]"), iif(is_state("switch.nspanel_bad_og_relais_1","on"), "[255,128,0]", "[255,255,255]")) }}', 'altFont': True}, 'statusIcon2': {'entity': 'switch.tuyaplug_zirkulation', 'icon': 'mdi:thermometer-water', 'color': '{{ iif(is_state("switch.tuyaplug_zirkulation","on"), "[255,193,7]", "[180,180,180]") }}', 'altFont': True}}, 'cards': [{'type': 'cardGrid', 'title': 'Home', 'key': 'Home', 'entities': [{'entity': 'navigate.screensaver', 'name': 'Home', 'icon': 'mdi:backspace-outline', 'color': [255, 255, 255]}, {'entity': 'navigate.cardGrid_Thermostat', 'name': 'Thermostat', 'icon': 'mdi:thermometer-lines', 'color': [255, 255, 255]}, {'entity': 'navigate.cardMedia_Media', 'status': 'media_player.sonos_bad_og', 'name': 'Musik', 'icon': 'mdi:music-box-outline', 'color': [255, 255, 255]}], 'sleepTimeout': 10}], 'hiddenCards': [{'type': 'cardGrid', 'title': 'Bad OG', 'key': 'Thermostat', 'navItem1': {'entity': 'navigate.cardGrid_Home', 'icon': 'mdi:backspace-outline', 'color': [255, 255, 255]}, 'entities': [{'entity': 'button.nspanel_bad_og_heiztemperatur_verringern', 'icon': 'mdi:minus', 'color': [255, 255, 255], 'name': ''}, {'entity': 'switch.nspanel_bad_og_relais_1', 'icon': 'ha:{{ "{:.1f}".format( states("number.nspanel_bad_og_heiztemperatur") | float) }}°', 'color': '{{ iif(is_state("switch.tuyaswitch_thermostat_modus","on"), iif(is_state("switch.nspanel_bad_og_relais_1","on"), "[102,201,255]", "[255,255,255]"), iif(is_state("switch.nspanel_bad_og_relais_1","on"), "[255,128,0]", "[255,255,255]")) }}', 'name': '{{ states("sensor.nspanel_bad_og_temperatur") }}°'}, {'entity': 'button.nspanel_bad_og_heiztemperatur_erhoehen', 'icon': 'mdi:plus', 'color': [255, 255, 255], 'name': ''}, {'entity': 'switch.nspanel_bad_og_thermostat_automatik', 'name': 'Heizen', 'icon': 'mdi:power', 'color': '{{ iif(is_state("switch.nspanel_bad_og_thermostat_automatik","on"), "[255,255,255]", "[84,84,84]") }}'}, {'entity': 'delete'}, {'entity': 'switch.tuyaplug_zirkulation', 'name': 'Zirkulation', 'icon': 'mdi:thermometer-water', 'color': '{{ iif(is_state("switch.tuyaplug_zirkulation","on"), "[255,193,7]", "[255,255,255]") }}'}], 'sleepTimeout': 10}, {'type': 'cardMedia', 'title': 'Musik', 'key': 'Media', 'navItem1': {'entity': 'navigate.cardGrid_Home', 'icon': 'mdi:backspace-outline', 'color': [255, 255, 255]}, 'entity': 'media_player.sonos_bad_og', 'entities': [{'entity': 'delete'}, {'entity': 'delete'}, {'entity': 'delete'}, {'entity': 'delete'}, {'entity': 'delete'}], 'sleepTimeout': 0}]} 2024-04-27 21:56:53.758950 INFO nspanel-bad-og: Loaded config: {'panelRecvTopic': 'nspanel/nspanel-bad-og/appdaemon/Result', 'panelSendTopic': 'nspanel/nspanel-bad-og/appdaemon/CustomSend', 'updateMode': 'auto-notify', 'model': 'eu', 'sleepTimeout': 20, 'sleepBrightness': [{'time': 'sunrise', 'value': 40}], 'screenBrightness': [{'time': 'sunrise', 'value': 100}, {'time': 'sunset + 1:00:00', 'value': 60}], 'defaultBackgroundColor': 'ha-dark', 'featureExperimentalSliders': False, 'sleepTracking': None, 'sleepTrackingZones': ['not_home', 'off'], 'sleepOverride': {'entity': 'switch.shellyswitch1_badog', 'brightness': 60}, 'locale': 'de_DE', 'timeFormat': '%H:%M', 'dateFormatBabel': 'full', 'dateAdditionalTemplate': '', 'timeAdditionalTemplate': '', 'dateFormat': '%A, %d. %B %Y', 'cards': [{'type': 'cardGrid', 'title': 'Home', 'key': 'Home', 'entities': [{'entity': 'navigate.screensaver', 'name': 'Home', 'icon': 'mdi:backspace-outline', 'color': [255, 255, 255]}, {'entity': 'navigate.cardGrid_Thermostat', 'name': 'Thermostat', 'icon': 'mdi:thermometer-lines', 'color': [255, 255, 255]}, {'entity': 'navigate.cardMedia_Media', 'status': 'media_player.sonos_bad_og', 'name': 'Musik', 'icon': 'mdi:music-box-outline', 'color': [255, 255, 255]}], 'sleepTimeout': 10}], 'screensaver': {'type': 'screensaver2', 'entity': 'weather.example', 'weatherUnit': 'celsius', 'forecastSkip': 0, 'weatherOverrideForecast1': None, 'weatherOverrideForecast2': None, 'weatherOverrideForecast3': None, 'weatherOverrideForecast4': None, 'doubleTapToUnlock': False, 'alternativeLayout': False, 'defaultCard': None, 'key': 'screensaver', 'entities': [{'entity': 'weather.forecast_homeassistant', 'color': '{{ iif(states("weather.forecast_homeassistant")=="sunny", "[255, 235, 59]", "[180,180,180]") }}'}, {'entity': 'sensor.forecast_homeassistant_hourly', 'value': '{{ state_attr("sensor.forecast_homeassistant_hourly","forecast") | map(attribute="temperature") | min }}°C', 'icon': 'ha:{{ iif(state_attr("sensor.forecast_homeassistant_hourly","forecast") | map(attribute="temperature") | min | float<4, "mdi:snowflake", "mdi:thermometer-lines") }}', 'color': '{{ iif(state_attr("sensor.forecast_homeassistant_hourly","forecast") | map(attribute="temperature") | min | float<4, "[102,201,255]", iif(state_attr("sensor.forecast_homeassistant_hourly","forecast") | map(attribute="temperature") | min | float>16, "[255,128,0]", "[255,255,255]") ) }}'}, {'entity': 'sensor.forecast_homeassistant_hourly', 'value': '{{ state_attr("sensor.forecast_homeassistant_hourly","forecast")[0].humidity }}% rel.', 'icon': 'mdi:percent-circle-outline', 'color': [255, 255, 255]}, {'entity': 'sensor.forecast_homeassistant_hourly', 'value': '{{ state_attr("sensor.forecast_homeassistant_hourly","forecast")[0].precipitation }}mm', 'icon': 'mdi:water-outline', 'color': '{{ iif(state_attr("sensor.forecast_homeassistant_hourly","forecast")[0].precipitation | float>10, "[102,201,255]", "[255,255,255]") }}'}, {'entity': 'sensor.forecast_homeassistant_hourly', 'name': '{{ as_timestamp(state_attr("sensor.forecast_homeassistant_hourly","forecast")[0].datetime) | timestamp_custom("%H:%M",local=true) }}', 'value': '{{ state_attr("sensor.forecast_homeassistant_hourly","forecast")[0].temperature }}', 'icon': 'ha:{{ "mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[0].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ ""}}', 'color': '{{ iif(state_attr("sensor.forecast_homeassistant_hourly","forecast")[0].condition=="sunny", "[255, 235, 59]", "[180,180,180]") }}'}, {'entity': 'sensor.forecast_homeassistant_hourly', 'name': '{{ as_timestamp(state_attr("sensor.forecast_homeassistant_hourly","forecast")[1].datetime) | timestamp_custom("%H:%M",local=true) }}', 'value': '{{ state_attr("sensor.forecast_homeassistant_hourly","forecast")[1].temperature }}', 'icon': 'ha:{{ "mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[1].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ ""}}', 'color': '{{ iif(state_attr("sensor.forecast_homeassistant_hourly","forecast")[1].condition=="sunny", "[255, 235, 59]", "[180,180,180]") }}'}, {'entity': 'sensor.forecast_homeassistant_hourly', 'name': '{{ as_timestamp(state_attr("sensor.forecast_homeassistant_hourly","forecast")[2].datetime) | timestamp_custom("%H:%M",local=true) }}', 'value': '{{ state_attr("sensor.forecast_homeassistant_hourly","forecast")[2].temperature }}', 'icon': 'ha:{{ "mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[2].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ ""}}', 'color': '{{ iif(state_attr("sensor.forecast_homeassistant_hourly","forecast")[2].condition=="sunny", "[255, 235, 59]", "[180,180,180]") }}'}, {'entity': 'sensor.forecast_homeassistant_hourly', 'name': '{{ as_timestamp(state_attr("sensor.forecast_homeassistant_hourly","forecast")[3].datetime) | timestamp_custom("%H:%M",local=true) }}', 'value': '{{ state_attr("sensor.forecast_homeassistant_hourly","forecast")[3].temperature }}', 'icon': 'ha:{{ "mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[3].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ ""}}', 'color': '{{ iif(state_attr("sensor.forecast_homeassistant_hourly","forecast")[3].condition=="sunny", "[255, 235, 59]", "[180,180,180]") }}'}, {'entity': 'sensor.forecast_homeassistant_hourly', 'name': '{{ as_timestamp(state_attr("sensor.forecast_homeassistant_hourly","forecast")[4].datetime) | timestamp_custom("%H:%M",local=true) }}', 'value': '{{ state_attr("sensor.forecast_homeassistant_hourly","forecast")[4].temperature }}', 'icon': 'ha:{{ "mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[4].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ ""}}', 'color': '{{ iif(state_attr("sensor.forecast_homeassistant_hourly","forecast")[4].condition=="sunny", "[255, 235, 59]", "[180,180,180]") }}'}, {'entity': 'sensor.forecast_homeassistant_hourly', 'name': '{{ as_timestamp(state_attr("sensor.forecast_homeassistant_hourly","forecast")[5].datetime) | timestamp_custom("%H:%M",local=true) }}', 'value': '{{ state_attr("sensor.forecast_homeassistant_hourly","forecast")[5].temperature }}', 'icon': 'ha:{{ "mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[5].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ ""}}', 'color': '{{ iif(state_attr("sensor.forecast_homeassistant_hourly","forecast")[5].condition=="sunny", "[255, 235, 59]", "[180,180,180]") }}'}, {'entity': 'delete'}, {'entity': 'delete'}, {'entity': 'delete'}, {'entity': 'delete'}, {'entity': 'binary_sensor.lumidoor_badog_contact', 'icon': 'mdi:window-open-variant', 'state': 'on'}], 'statusIcon1': {'entity': 'switch.nspanel_bad_og_relais_1', 'icon': 'ha:{{ states("sensor.nspanel_bad_og_temperatur") | round(1) }}°', 'color': '{{ iif(is_state("switch.tuyaswitch_thermostat_modus","on"), iif(is_state("switch.nspanel_bad_og_relais_1","on"), "[102,201,255]", "[255,255,255]"), iif(is_state("switch.nspanel_bad_og_relais_1","on"), "[255,128,0]", "[255,255,255]")) }}', 'altFont': True}, 'statusIcon2': {'entity': 'switch.tuyaplug_zirkulation', 'icon': 'mdi:thermometer-water', 'color': '{{ iif(is_state("switch.tuyaplug_zirkulation","on"), "[255,193,7]", "[180,180,180]") }}', 'altFont': True}}, 'hiddenCards': [{'type': 'cardGrid', 'title': 'Bad OG', 'key': 'Thermostat', 'navItem1': {'entity': 'navigate.cardGrid_Home', 'icon': 'mdi:backspace-outline', 'color': [255, 255, 255]}, 'entities': [{'entity': 'button.nspanel_bad_og_heiztemperatur_verringern', 'icon': 'mdi:minus', 'color': [255, 255, 255], 'name': ''}, {'entity': 'switch.nspanel_bad_og_relais_1', 'icon': 'ha:{{ "{:.1f}".format( states("number.nspanel_bad_og_heiztemperatur") | float) }}°', 'color': '{{ iif(is_state("switch.tuyaswitch_thermostat_modus","on"), iif(is_state("switch.nspanel_bad_og_relais_1","on"), "[102,201,255]", "[255,255,255]"), iif(is_state("switch.nspanel_bad_og_relais_1","on"), "[255,128,0]", "[255,255,255]")) }}', 'name': '{{ states("sensor.nspanel_bad_og_temperatur") }}°'}, {'entity': 'button.nspanel_bad_og_heiztemperatur_erhoehen', 'icon': 'mdi:plus', 'color': [255, 255, 255], 'name': ''}, {'entity': 'switch.nspanel_bad_og_thermostat_automatik', 'name': 'Heizen', 'icon': 'mdi:power', 'color': '{{ iif(is_state("switch.nspanel_bad_og_thermostat_automatik","on"), "[255,255,255]", "[84,84,84]") }}'}, {'entity': 'delete'}, {'entity': 'switch.tuyaplug_zirkulation', 'name': 'Zirkulation', 'icon': 'mdi:thermometer-water', 'color': '{{ iif(is_state("switch.tuyaplug_zirkulation","on"), "[255,193,7]", "[255,255,255]") }}'}], 'sleepTimeout': 10}, {'type': 'cardMedia', 'title': 'Musik', 'key': 'Media', 'navItem1': {'entity': 'navigate.cardGrid_Home', 'icon': 'mdi:backspace-outline', 'color': [255, 255, 255]}, 'entity': 'media_player.sonos_bad_og', 'entities': [{'entity': 'delete'}, {'entity': 'delete'}, {'entity': 'delete'}, {'entity': 'delete'}, {'entity': 'delete'}], 'sleepTimeout': 0}]} 2024-04-27 21:56:53.767688 INFO nspanel-bad-og: Sending MQTT Message: pageType~pageStartup 2024-04-27 21:56:53.772738 INFO nspanel-bad-og: Chooseing {'time': 'sunrise', 'value': 40} as fallback 2024-04-27 21:56:53.782305 INFO nspanel-bad-og: Configuring Sleep Override. Config is {'entity': 'switch.shellyswitch1_badog', 'brightness': 60} 2024-04-27 21:56:53.784560 INFO nspanel-bad-og: gtest123: ['navigate.screensaver', 'navigate.cardGrid_Thermostat', 'navigate.cardMedia_Media', 'media_player.sonos_bad_og', 'button.nspanel_bad_og_heiztemperatur_verringern', 'switch.nspanel_bad_og_relais_1', 'button.nspanel_bad_og_heiztemperatur_erhoehen', 'switch.nspanel_bad_og_thermostat_automatik', 'delete', 'switch.tuyaplug_zirkulation', 'media_player.sonos_bad_og', 'delete', 'delete', 'delete', 'delete', 'delete', 'weather.example', 'switch.nspanel_bad_og_relais_1', 'switch.tuyaplug_zirkulation', 'weather.forecast_homeassistant', 'sensor.forecast_homeassistant_hourly', 'sensor.forecast_homeassistant_hourly', 'sensor.forecast_homeassistant_hourly', 'sensor.forecast_homeassistant_hourly', 'sensor.forecast_homeassistant_hourly', 'sensor.forecast_homeassistant_hourly', 'sensor.forecast_homeassistant_hourly', 'sensor.forecast_homeassistant_hourly', 'sensor.forecast_homeassistant_hourly', 'delete', 'delete', 'delete', 'delete', 'binary_sensor.lumidoor_badog_contact'] 2024-04-27 21:56:53.785665 INFO nspanel-bad-og: Registering callbacks for the following items: ['media_player.sonos_bad_og', 'button.nspanel_bad_og_heiztemperatur_verringern', 'switch.nspanel_bad_og_relais_1', 'button.nspanel_bad_og_heiztemperatur_erhoehen', 'switch.nspanel_bad_og_thermostat_automatik', 'switch.tuyaplug_zirkulation', 'media_player.sonos_bad_og', 'weather.example', 'switch.nspanel_bad_og_relais_1', 'switch.tuyaplug_zirkulation', 'weather.forecast_homeassistant', 'sensor.forecast_homeassistant_hourly', 'sensor.forecast_homeassistant_hourly', 'sensor.forecast_homeassistant_hourly', 'sensor.forecast_homeassistant_hourly', 'sensor.forecast_homeassistant_hourly', 'sensor.forecast_homeassistant_hourly', 'sensor.forecast_homeassistant_hourly', 'sensor.forecast_homeassistant_hourly', 'sensor.forecast_homeassistant_hourly', 'binary_sensor.lumidoor_badog_contact'] 2024-04-27 21:56:53.813475 INFO nspanel-bad-og: Started (v4.3.1) 2024-04-27 21:56:53.814898 INFO AppDaemon: Calling initialize() for nspanel-schlafzimmer 2024-04-27 21:56:53.817348 INFO nspanel-schlafzimmer: Starting 2024-04-27 21:56:53.820238 INFO nspanel-schlafzimmer: Input config: {'panelRecvTopic': 'nspanel/nspanel-schlafzimmer/appdaemon/Result', 'panelSendTopic': 'nspanel/nspanel-schlafzimmer/appdaemon/CustomSend', 'model': 'eu', 'updateMode': 'auto-notify', 'defaultBackgroundColor': 'ha-dark', 'sleepBrightness': [{'time': 'sunrise', 'value': 20}], 'sleepOverride': {'entity': 'binary_sensor.nokia_5110_focus', 'brightness': 1}, 'screenBrightness': [{'time': 'sunrise', 'value': 60}, {'time': 'sunset + 1:00:00', 'value': 40}], 'locale': 'de_DE', 'screensaver': {'type': 'screensaver2', 'entities': [{'entity': 'weather.forecast_homeassistant', 'color': '{{ iif(states("weather.forecast_homeassistant")=="sunny", "[255, 235, 59]", "[180,180,180]") }}'}, {'entity': 'sensor.forecast_homeassistant_hourly', 'value': '{{ state_attr("sensor.forecast_homeassistant_hourly","forecast") | map(attribute="temperature") | min }}°C', 'icon': 'ha:{{ iif(state_attr("sensor.forecast_homeassistant_hourly","forecast") | map(attribute="temperature") | min | float<4, "mdi:snowflake", "mdi:thermometer-lines") }}', 'color': '{{ iif(state_attr("sensor.forecast_homeassistant_hourly","forecast") | map(attribute="temperature") | min | float<4, "[102,201,255]", iif(state_attr("sensor.forecast_homeassistant_hourly","forecast") | map(attribute="temperature") | min | float>16, "[255,128,0]", "[255,255,255]") ) }}'}, {'entity': 'sensor.forecast_homeassistant_hourly', 'value': '{{ state_attr("sensor.forecast_homeassistant_hourly","forecast")[0].humidity }}% rel.', 'icon': 'mdi:percent-circle-outline', 'color': [255, 255, 255]}, {'entity': 'sensor.forecast_homeassistant_hourly', 'value': '{{ state_attr("sensor.forecast_homeassistant_hourly","forecast")[0].precipitation }}mm', 'icon': 'mdi:water-outline', 'color': '{{ iif(state_attr("sensor.forecast_homeassistant_hourly","forecast")[0].precipitation | float>10, "[102,201,255]", "[255,255,255]") }}'}, {'entity': 'sensor.forecast_homeassistant_hourly', 'name': '{{ as_timestamp(state_attr("sensor.forecast_homeassistant_hourly","forecast")[0].datetime) | timestamp_custom("%H:%M",local=true) }}', 'value': '{{ state_attr("sensor.forecast_homeassistant_hourly","forecast")[0].temperature }}', 'icon': 'ha:{{ "mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[0].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ ""}}', 'color': '{{ iif(state_attr("sensor.forecast_homeassistant_hourly","forecast")[0].condition=="sunny", "[255, 235, 59]", "[180,180,180]") }}'}, {'entity': 'sensor.forecast_homeassistant_hourly', 'name': '{{ as_timestamp(state_attr("sensor.forecast_homeassistant_hourly","forecast")[1].datetime) | timestamp_custom("%H:%M",local=true) }}', 'value': '{{ state_attr("sensor.forecast_homeassistant_hourly","forecast")[1].temperature }}', 'icon': 'ha:{{ "mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[1].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ ""}}', 'color': '{{ iif(state_attr("sensor.forecast_homeassistant_hourly","forecast")[1].condition=="sunny", "[255, 235, 59]", "[180,180,180]") }}'}, {'entity': 'sensor.forecast_homeassistant_hourly', 'name': '{{ as_timestamp(state_attr("sensor.forecast_homeassistant_hourly","forecast")[2].datetime) | timestamp_custom("%H:%M",local=true) }}', 'value': '{{ state_attr("sensor.forecast_homeassistant_hourly","forecast")[2].temperature }}', 'icon': 'ha:{{ "mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[2].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ ""}}', 'color': '{{ iif(state_attr("sensor.forecast_homeassistant_hourly","forecast")[2].condition=="sunny", "[255, 235, 59]", "[180,180,180]") }}'}, {'entity': 'sensor.forecast_homeassistant_hourly', 'name': '{{ as_timestamp(state_attr("sensor.forecast_homeassistant_hourly","forecast")[3].datetime) | timestamp_custom("%H:%M",local=true) }}', 'value': '{{ state_attr("sensor.forecast_homeassistant_hourly","forecast")[3].temperature }}', 'icon': 'ha:{{ "mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[3].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ ""}}', 'color': '{{ iif(state_attr("sensor.forecast_homeassistant_hourly","forecast")[3].condition=="sunny", "[255, 235, 59]", "[180,180,180]") }}'}, {'entity': 'sensor.forecast_homeassistant_hourly', 'name': '{{ as_timestamp(state_attr("sensor.forecast_homeassistant_hourly","forecast")[4].datetime) | timestamp_custom("%H:%M",local=true) }}', 'value': '{{ state_attr("sensor.forecast_homeassistant_hourly","forecast")[4].temperature }}', 'icon': 'ha:{{ "mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[4].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ ""}}', 'color': '{{ iif(state_attr("sensor.forecast_homeassistant_hourly","forecast")[4].condition=="sunny", "[255, 235, 59]", "[180,180,180]") }}'}, {'entity': 'sensor.forecast_homeassistant_hourly', 'name': '{{ as_timestamp(state_attr("sensor.forecast_homeassistant_hourly","forecast")[5].datetime) | timestamp_custom("%H:%M",local=true) }}', 'value': '{{ state_attr("sensor.forecast_homeassistant_hourly","forecast")[5].temperature }}', 'icon': 'ha:{{ "mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[5].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ ""}}', 'color': '{{ iif(state_attr("sensor.forecast_homeassistant_hourly","forecast")[5].condition=="sunny", "[255, 235, 59]", "[180,180,180]") }}'}, {'entity': 'delete'}, {'entity': 'delete'}, {'entity': 'delete'}, {'entity': 'delete'}, {'entity': 'binary_sensor.lumidoor_badog_contact', 'icon': 'mdi:window-open-variant', 'state': 'on'}], 'statusIcon1': {'entity': 'switch.nspanel_schlafzimmer_relais_1', 'icon': 'ha:{{ states("sensor.nspanel_schlafzimmer_temperatur") | round(1) }}°', 'color': '{{ iif(is_state("switch.tuyaswitch_thermostat_modus","on"), iif(is_state("switch.nspanel_schlafzimmer_relais_1","on"), "[102,201,255]", "[255,255,255]"), iif(is_state("switch.nspanel_schlafzimmer_relais_1","on"), "[255,128,0]", "[255,255,255]")) }}', 'altFont': True}, 'statusIcon2': {'entity': 'cover.tuyacurtain_schlafzimmer', 'icon': 'ha:{{ iif(state_attr("cover.tuyacurtain_schlafzimmer","current_position")>50, "mdi:blinds-horizontal", "mdi:blinds-horizontal-closed") }}', 'color': [255, 255, 255], 'altFont': True}}, 'cards': [{'type': 'cardGrid', 'title': 'Home', 'key': 'Home', 'entities': [{'entity': 'navigate.screensaver', 'name': 'Home', 'icon': 'mdi:backspace-outline', 'color': [255, 255, 255]}, {'entity': 'navigate.cardGrid_Thermostat', 'name': 'Thermostat', 'icon': 'mdi:thermometer-lines', 'color': [255, 255, 255]}, {'entity': 'navigate.cardGrid_Rollladen', 'name': 'Rollladen', 'icon': 'ha:{{ iif(state_attr("cover.tuyacurtain_schlafzimmer","current_position")>50, "mdi:blinds-horizontal", "mdi:blinds-horizontal-closed") }}', 'color': [255, 255, 255]}, {'entity': 'cover.tuyacurtain_schlafzimmer'}], 'sleepTimeout': 10}], 'hiddenCards': [{'type': 'cardGrid', 'title': 'Schlafzimmer', 'key': 'Thermostat', 'navItem1': {'entity': 'navigate.cardGrid_Home', 'icon': 'mdi:backspace-outline', 'color': [255, 255, 255]}, 'entities': [{'entity': 'button.nspanel_schlafzimmer_heiztemperatur_verringern', 'icon': 'mdi:minus', 'color': [255, 255, 255], 'name': ''}, {'entity': 'switch.nspanel_schlafzimmer_relais_1', 'icon': 'ha:{{ "{:.1f}".format( states("number.nspanel_schlafzimmer_heiztemperatur") | float) }}°', 'color': '{{ iif(is_state("switch.tuyaswitch_thermostat_modus","on"), iif(is_state("switch.nspanel_schlafzimmer_relais_1","on"), "[102,201,255]", "[255,255,255]"), iif(is_state("switch.nspanel_schlafzimmer_relais_1","on"), "[255,128,0]", "[255,255,255]")) }}', 'name': '{{ states("sensor.nspanel_schlafzimmer_temperatur") }}°'}, {'entity': 'button.nspanel_schlafzimmer_heiztemperatur_erhoehen', 'icon': 'mdi:plus', 'color': [255, 255, 255], 'name': ''}, {'entity': 'switch.nspanel_schlafzimmer_thermostat_automatik', 'name': 'Heizen', 'icon': 'mdi:power', 'color': '{{ iif(is_state("switch.nspanel_schlafzimmer_thermostat_automatik","on"), "[255,255,255]", "[84,84,84]") }}'}, {'entity': 'delete'}, {'entity': 'delete'}], 'sleepTimeout': 10}, {'type': 'cardGrid', 'title': 'Rollladen', 'key': 'Rollladen', 'navItem1': {'entity': 'navigate.cardGrid_Home', 'icon': 'mdi:backspace-outline', 'color': [255, 255, 255]}, 'entities': [{'entity': 'script.jalousie_schliessen', 'name': '', 'icon': 'mdi:archive-arrow-down-outline', 'color': [255, 255, 255]}, {'entity': 'script.jalousie_stoppen', 'name': '{{ state_attr("cover.tuyacurtain_schlafzimmer","current_position") }} %', 'icon': 'mdi:stop', 'color': [255, 255, 255]}, {'entity': 'script.jalousie_oeffnen', 'name': '', 'icon': 'mdi:archive-arrow-up-outline', 'color': [255, 255, 255]}], 'sleepTimeout': 10}]} 2024-04-27 21:56:53.821970 INFO nspanel-schlafzimmer: Loaded config: {'panelRecvTopic': 'nspanel/nspanel-schlafzimmer/appdaemon/Result', 'panelSendTopic': 'nspanel/nspanel-schlafzimmer/appdaemon/CustomSend', 'updateMode': 'auto-notify', 'model': 'eu', 'sleepTimeout': 20, 'sleepBrightness': [{'time': 'sunrise', 'value': 20}], 'screenBrightness': [{'time': 'sunrise', 'value': 60}, {'time': 'sunset + 1:00:00', 'value': 40}], 'defaultBackgroundColor': 'ha-dark', 'featureExperimentalSliders': False, 'sleepTracking': None, 'sleepTrackingZones': ['not_home', 'off'], 'sleepOverride': {'entity': 'binary_sensor.nokia_5110_focus', 'brightness': 1}, 'locale': 'de_DE', 'timeFormat': '%H:%M', 'dateFormatBabel': 'full', 'dateAdditionalTemplate': '', 'timeAdditionalTemplate': '', 'dateFormat': '%A, %d. %B %Y', 'cards': [{'type': 'cardGrid', 'title': 'Home', 'key': 'Home', 'entities': [{'entity': 'navigate.screensaver', 'name': 'Home', 'icon': 'mdi:backspace-outline', 'color': [255, 255, 255]}, {'entity': 'navigate.cardGrid_Thermostat', 'name': 'Thermostat', 'icon': 'mdi:thermometer-lines', 'color': [255, 255, 255]}, {'entity': 'navigate.cardGrid_Rollladen', 'name': 'Rollladen', 'icon': 'ha:{{ iif(state_attr("cover.tuyacurtain_schlafzimmer","current_position")>50, "mdi:blinds-horizontal", "mdi:blinds-horizontal-closed") }}', 'color': [255, 255, 255]}, {'entity': 'cover.tuyacurtain_schlafzimmer'}], 'sleepTimeout': 10}], 'screensaver': {'type': 'screensaver2', 'entity': 'weather.example', 'weatherUnit': 'celsius', 'forecastSkip': 0, 'weatherOverrideForecast1': None, 'weatherOverrideForecast2': None, 'weatherOverrideForecast3': None, 'weatherOverrideForecast4': None, 'doubleTapToUnlock': False, 'alternativeLayout': False, 'defaultCard': None, 'key': 'screensaver', 'entities': [{'entity': 'weather.forecast_homeassistant', 'color': '{{ iif(states("weather.forecast_homeassistant")=="sunny", "[255, 235, 59]", "[180,180,180]") }}'}, {'entity': 'sensor.forecast_homeassistant_hourly', 'value': '{{ state_attr("sensor.forecast_homeassistant_hourly","forecast") | map(attribute="temperature") | min }}°C', 'icon': 'ha:{{ iif(state_attr("sensor.forecast_homeassistant_hourly","forecast") | map(attribute="temperature") | min | float<4, "mdi:snowflake", "mdi:thermometer-lines") }}', 'color': '{{ iif(state_attr("sensor.forecast_homeassistant_hourly","forecast") | map(attribute="temperature") | min | float<4, "[102,201,255]", iif(state_attr("sensor.forecast_homeassistant_hourly","forecast") | map(attribute="temperature") | min | float>16, "[255,128,0]", "[255,255,255]") ) }}'}, {'entity': 'sensor.forecast_homeassistant_hourly', 'value': '{{ state_attr("sensor.forecast_homeassistant_hourly","forecast")[0].humidity }}% rel.', 'icon': 'mdi:percent-circle-outline', 'color': [255, 255, 255]}, {'entity': 'sensor.forecast_homeassistant_hourly', 'value': '{{ state_attr("sensor.forecast_homeassistant_hourly","forecast")[0].precipitation }}mm', 'icon': 'mdi:water-outline', 'color': '{{ iif(state_attr("sensor.forecast_homeassistant_hourly","forecast")[0].precipitation | float>10, "[102,201,255]", "[255,255,255]") }}'}, {'entity': 'sensor.forecast_homeassistant_hourly', 'name': '{{ as_timestamp(state_attr("sensor.forecast_homeassistant_hourly","forecast")[0].datetime) | timestamp_custom("%H:%M",local=true) }}', 'value': '{{ state_attr("sensor.forecast_homeassistant_hourly","forecast")[0].temperature }}', 'icon': 'ha:{{ "mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[0].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ ""}}', 'color': '{{ iif(state_attr("sensor.forecast_homeassistant_hourly","forecast")[0].condition=="sunny", "[255, 235, 59]", "[180,180,180]") }}'}, {'entity': 'sensor.forecast_homeassistant_hourly', 'name': '{{ as_timestamp(state_attr("sensor.forecast_homeassistant_hourly","forecast")[1].datetime) | timestamp_custom("%H:%M",local=true) }}', 'value': '{{ state_attr("sensor.forecast_homeassistant_hourly","forecast")[1].temperature }}', 'icon': 'ha:{{ "mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[1].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ ""}}', 'color': '{{ iif(state_attr("sensor.forecast_homeassistant_hourly","forecast")[1].condition=="sunny", "[255, 235, 59]", "[180,180,180]") }}'}, {'entity': 'sensor.forecast_homeassistant_hourly', 'name': '{{ as_timestamp(state_attr("sensor.forecast_homeassistant_hourly","forecast")[2].datetime) | timestamp_custom("%H:%M",local=true) }}', 'value': '{{ state_attr("sensor.forecast_homeassistant_hourly","forecast")[2].temperature }}', 'icon': 'ha:{{ "mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[2].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ ""}}', 'color': '{{ iif(state_attr("sensor.forecast_homeassistant_hourly","forecast")[2].condition=="sunny", "[255, 235, 59]", "[180,180,180]") }}'}, {'entity': 'sensor.forecast_homeassistant_hourly', 'name': '{{ as_timestamp(state_attr("sensor.forecast_homeassistant_hourly","forecast")[3].datetime) | timestamp_custom("%H:%M",local=true) }}', 'value': '{{ state_attr("sensor.forecast_homeassistant_hourly","forecast")[3].temperature }}', 'icon': 'ha:{{ "mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[3].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ ""}}', 'color': '{{ iif(state_attr("sensor.forecast_homeassistant_hourly","forecast")[3].condition=="sunny", "[255, 235, 59]", "[180,180,180]") }}'}, {'entity': 'sensor.forecast_homeassistant_hourly', 'name': '{{ as_timestamp(state_attr("sensor.forecast_homeassistant_hourly","forecast")[4].datetime) | timestamp_custom("%H:%M",local=true) }}', 'value': '{{ state_attr("sensor.forecast_homeassistant_hourly","forecast")[4].temperature }}', 'icon': 'ha:{{ "mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[4].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ ""}}', 'color': '{{ iif(state_attr("sensor.forecast_homeassistant_hourly","forecast")[4].condition=="sunny", "[255, 235, 59]", "[180,180,180]") }}'}, {'entity': 'sensor.forecast_homeassistant_hourly', 'name': '{{ as_timestamp(state_attr("sensor.forecast_homeassistant_hourly","forecast")[5].datetime) | timestamp_custom("%H:%M",local=true) }}', 'value': '{{ state_attr("sensor.forecast_homeassistant_hourly","forecast")[5].temperature }}', 'icon': 'ha:{{ "mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[5].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ ""}}', 'color': '{{ iif(state_attr("sensor.forecast_homeassistant_hourly","forecast")[5].condition=="sunny", "[255, 235, 59]", "[180,180,180]") }}'}, {'entity': 'delete'}, {'entity': 'delete'}, {'entity': 'delete'}, {'entity': 'delete'}, {'entity': 'binary_sensor.lumidoor_badog_contact', 'icon': 'mdi:window-open-variant', 'state': 'on'}], 'statusIcon1': {'entity': 'switch.nspanel_schlafzimmer_relais_1', 'icon': 'ha:{{ states("sensor.nspanel_schlafzimmer_temperatur") | round(1) }}°', 'color': '{{ iif(is_state("switch.tuyaswitch_thermostat_modus","on"), iif(is_state("switch.nspanel_schlafzimmer_relais_1","on"), "[102,201,255]", "[255,255,255]"), iif(is_state("switch.nspanel_schlafzimmer_relais_1","on"), "[255,128,0]", "[255,255,255]")) }}', 'altFont': True}, 'statusIcon2': {'entity': 'cover.tuyacurtain_schlafzimmer', 'icon': 'ha:{{ iif(state_attr("cover.tuyacurtain_schlafzimmer","current_position")>50, "mdi:blinds-horizontal", "mdi:blinds-horizontal-closed") }}', 'color': [255, 255, 255], 'altFont': True}}, 'hiddenCards': [{'type': 'cardGrid', 'title': 'Schlafzimmer', 'key': 'Thermostat', 'navItem1': {'entity': 'navigate.cardGrid_Home', 'icon': 'mdi:backspace-outline', 'color': [255, 255, 255]}, 'entities': [{'entity': 'button.nspanel_schlafzimmer_heiztemperatur_verringern', 'icon': 'mdi:minus', 'color': [255, 255, 255], 'name': ''}, {'entity': 'switch.nspanel_schlafzimmer_relais_1', 'icon': 'ha:{{ "{:.1f}".format( states("number.nspanel_schlafzimmer_heiztemperatur") | float) }}°', 'color': '{{ iif(is_state("switch.tuyaswitch_thermostat_modus","on"), iif(is_state("switch.nspanel_schlafzimmer_relais_1","on"), "[102,201,255]", "[255,255,255]"), iif(is_state("switch.nspanel_schlafzimmer_relais_1","on"), "[255,128,0]", "[255,255,255]")) }}', 'name': '{{ states("sensor.nspanel_schlafzimmer_temperatur") }}°'}, {'entity': 'button.nspanel_schlafzimmer_heiztemperatur_erhoehen', 'icon': 'mdi:plus', 'color': [255, 255, 255], 'name': ''}, {'entity': 'switch.nspanel_schlafzimmer_thermostat_automatik', 'name': 'Heizen', 'icon': 'mdi:power', 'color': '{{ iif(is_state("switch.nspanel_schlafzimmer_thermostat_automatik","on"), "[255,255,255]", "[84,84,84]") }}'}, {'entity': 'delete'}, {'entity': 'delete'}], 'sleepTimeout': 10}, {'type': 'cardGrid', 'title': 'Rollladen', 'key': 'Rollladen', 'navItem1': {'entity': 'navigate.cardGrid_Home', 'icon': 'mdi:backspace-outline', 'color': [255, 255, 255]}, 'entities': [{'entity': 'script.jalousie_schliessen', 'name': '', 'icon': 'mdi:archive-arrow-down-outline', 'color': [255, 255, 255]}, {'entity': 'script.jalousie_stoppen', 'name': '{{ state_attr("cover.tuyacurtain_schlafzimmer","current_position") }} %', 'icon': 'mdi:stop', 'color': [255, 255, 255]}, {'entity': 'script.jalousie_oeffnen', 'name': '', 'icon': 'mdi:archive-arrow-up-outline', 'color': [255, 255, 255]}], 'sleepTimeout': 10}]} 2024-04-27 21:56:53.828514 INFO nspanel-schlafzimmer: Sending MQTT Message: pageType~pageStartup 2024-04-27 21:56:53.831694 INFO nspanel-schlafzimmer: Chooseing {'time': 'sunrise', 'value': 20} as fallback 2024-04-27 21:56:53.839740 INFO nspanel-schlafzimmer: Configuring Sleep Override. Config is {'entity': 'binary_sensor.nokia_5110_focus', 'brightness': 1} 2024-04-27 21:56:53.842346 INFO nspanel-schlafzimmer: gtest123: ['navigate.screensaver', 'navigate.cardGrid_Thermostat', 'navigate.cardGrid_Rollladen', 'cover.tuyacurtain_schlafzimmer', 'button.nspanel_schlafzimmer_heiztemperatur_verringern', 'switch.nspanel_schlafzimmer_relais_1', 'button.nspanel_schlafzimmer_heiztemperatur_erhoehen', 'switch.nspanel_schlafzimmer_thermostat_automatik', 'delete', 'delete', 'script.jalousie_schliessen', 'script.jalousie_stoppen', 'script.jalousie_oeffnen', 'weather.example', 'switch.nspanel_schlafzimmer_relais_1', 'cover.tuyacurtain_schlafzimmer', 'weather.forecast_homeassistant', 'sensor.forecast_homeassistant_hourly', 'sensor.forecast_homeassistant_hourly', 'sensor.forecast_homeassistant_hourly', 'sensor.forecast_homeassistant_hourly', 'sensor.forecast_homeassistant_hourly', 'sensor.forecast_homeassistant_hourly', 'sensor.forecast_homeassistant_hourly', 'sensor.forecast_homeassistant_hourly', 'sensor.forecast_homeassistant_hourly', 'delete', 'delete', 'delete', 'delete', 'binary_sensor.lumidoor_badog_contact'] 2024-04-27 21:56:53.843496 INFO nspanel-schlafzimmer: Registering callbacks for the following items: ['cover.tuyacurtain_schlafzimmer', 'button.nspanel_schlafzimmer_heiztemperatur_verringern', 'switch.nspanel_schlafzimmer_relais_1', 'button.nspanel_schlafzimmer_heiztemperatur_erhoehen', 'switch.nspanel_schlafzimmer_thermostat_automatik', 'script.jalousie_schliessen', 'script.jalousie_stoppen', 'script.jalousie_oeffnen', 'weather.example', 'switch.nspanel_schlafzimmer_relais_1', 'cover.tuyacurtain_schlafzimmer', 'weather.forecast_homeassistant', 'sensor.forecast_homeassistant_hourly', 'sensor.forecast_homeassistant_hourly', 'sensor.forecast_homeassistant_hourly', 'sensor.forecast_homeassistant_hourly', 'sensor.forecast_homeassistant_hourly', 'sensor.forecast_homeassistant_hourly', 'sensor.forecast_homeassistant_hourly', 'sensor.forecast_homeassistant_hourly', 'sensor.forecast_homeassistant_hourly', 'binary_sensor.lumidoor_badog_contact'] 2024-04-27 21:56:53.873504 INFO nspanel-schlafzimmer: Started (v4.3.1) 2024-04-27 21:56:53.875233 INFO AppDaemon: App initialization complete 2024-04-27 21:56:53.999773 INFO nspanel-schlafzimmer: MQTT callback for: {'topic': 'nspanel/nspanel-schlafzimmer/appdaemon/Result', 'wildcard': None, 'payload': '{"nlui_driver_version":999}'} 2024-04-27 21:56:54.000341 INFO nspanel-schlafzimmer: MQTT callback for: {'topic': 'nspanel/nspanel-bad-og/appdaemon/Result', 'wildcard': None, 'payload': '{"nlui_driver_version":999}'} 2024-04-27 21:56:54.002182 INFO nspanel-bad-og: Update Pre-Check failed Tasmota Driver Version: 999 Panel Version: None 2024-04-27 21:56:54.002505 INFO nspanel-schlafzimmer: Update Pre-Check failed Tasmota Driver Version: 999 Panel Version: None 2024-04-27 21:57:00.787942 INFO nspanel-bad-og: Sending MQTT Message: time~21:57~ 2024-04-27 21:57:00.845542 INFO nspanel-schlafzimmer: Sending MQTT Message: time~21:57~ 2024-04-27 21:57:24.942516 INFO nspanel-bad-og: Sending MQTT Message: timeout~20 2024-04-27 21:57:25.110067 INFO nspanel-bad-og: Sending MQTT Message: weatherUpdate~���~46518~Forecast HomeAssistant~13.9��C~���~65535~Forecast Homeassistant hourly~9.1��C~���~65535~Forecast Homeassistant hourly~65% rel.~���~65535~Forecast Homeassistant hourly~0.0mm~���~46518~21:00~13.9~���~46518~22:00~12.5~���~46518~23:00~12.0~���~46518~00:00~13.0~���~46518~01:00~12.6~���~46518~02:00~10.2~delete~~delete~~delete~~delete~~~~���~65222~lumidoor-BadOG T��r~Offen 2024-04-27 21:57:25.125233 INFO nspanel-bad-og: Sending MQTT Message: statusUpdate~21.3��~64512~���~46518~True~True 2024-04-27 21:57:25.136783 INFO nspanel-bad-og: Sending MQTT Message: timeout~20 2024-04-27 21:57:25.298428 INFO nspanel-bad-og: Sending MQTT Message: weatherUpdate~���~46518~Forecast HomeAssistant~13.9��C~���~65535~Forecast Homeassistant hourly~9.1��C~���~65535~Forecast Homeassistant hourly~65% rel.~���~65535~Forecast Homeassistant hourly~0.0mm~���~46518~21:00~13.9~���~46518~22:00~12.5~���~46518~23:00~12.0~���~46518~00:00~13.0~���~46518~01:00~12.6~���~46518~02:00~10.2~delete~~delete~~delete~~delete~~~~���~65222~lumidoor-BadOG T��r~Offen 2024-04-27 21:57:25.317367 INFO nspanel-bad-og: Sending MQTT Message: statusUpdate~21.3��~64512~���~46518~True~True 2024-04-27 21:58:00.788906 INFO nspanel-bad-og: Sending MQTT Message: time~21:58~ 2024-04-27 21:58:00.845487 INFO nspanel-schlafzimmer: Sending MQTT Message: time~21:58~



### TO REPRODUCE
_Steps to reproduce the behavior:_
Display is constantly black

### EXPECTED BEHAVIOUR
_A clear and concise description of what you expected to happen._
Display turns on

### 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 VERSION
_Please add the Panel/Firmware Version you are using (EU, US-L or US-P)_
EU Model
KaVo194 commented 1 month ago

Same issue here after upgrading HA Core to 2024.5.1

KaVo194 commented 1 month ago

AppDeamon Log: `2024-05-06 12:30:38.035670 WARNING nspanel-2: ------------------------------------------------------------ 2024-05-06 12:30:38.065577 WARNING nspanel-1: ------------------------------------------------------------ 2024-05-06 12:30:38.067298 WARNING nspanel-1: Unexpected error in worker for App nspanel-1: 2024-05-06 12:30:38.069647 WARNING nspanel-1: Worker Ags: {'id': '4672fc4058a746439fe74e2c027e1d8e', 'name': 'nspanel-1', 'objectid': '4f2e64d580c6489aaca2f4927a0efedb', 'type': 'state', 'function': <bound method LuiController.state_change_callback of <luibackend.controller.LuiController object at 0xb4e92e50>>, 'attribute': 'all', 'entity': 'sensor.energy_usage', 'new_state': {'entity_id': 'sensor.energy_usage', 'state': '11828', 'attributes': {'state_class': 'measurement', 'unit_of_measurement': 'W', 'device_class': 'energy', 'icon': 'mdi:flash', 'friendly_name': 'Stromverbrauch'}, 'last_changed': '2024-05-06T10:30:37.672147+00:00', 'last_reported': '2024-05-06T10:30:37.672147+00:00', 'last_updated': '2024-05-06T10:30:37.672147+00:00', 'context': {'id': '01HX6Q95V8GEFBNR3K6PWNG9N5', 'parent_id': None, 'user_id': None}}, 'old_state': {'entity_id': 'sensor.energy_usage', 'state': '11805', 'attributes': {'state_class': 'measurement', 'unit_of_measurement': 'W', 'device_class': 'energy', 'icon': 'mdi:flash', 'friendly_name': 'Stromverbrauch'}, 'last_changed': '2024-05-06T10:30:07.750810+00:00', 'last_reported': '2024-05-06T10:30:07.750810+00:00', 'last_updated': '2024-05-06T10:30:07.750810+00:00', 'context': {'id': '01HX6Q88M6W5K0TCVPGQ6RXS8R', 'parent_id': None, 'user_id': None}}, 'pin_app': True, 'pin_thread': 1, 'kwargs': {'attribute': 'all', '__thread_id': 'thread-1'}} 2024-05-06 12:30:38.071118 WARNING nspanel-1: ------------------------------------------------------------ 2024-05-06 12:30:38.078534 WARNING nspanel-1: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/appdaemon/threading.py", line 1045, in worker funcref( File "/config/apps/nspanel-lovelace-ui/luibackend/controller.py", line 173, in state_change_callback self._pages_gen.render_card(self._current_card, send_page_type=False) File "/config/apps/nspanel-lovelace-ui/luibackend/pages.py", line 764, in render_card self.update_screensaver_weather(theme) File "/config/apps/nspanel-lovelace-ui/luibackend/pages.py", line 145, in update_screensaver_weather item_str += self.generate_entities_item(item, "cardEntities", mask=["type", "entityId"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/apps/nspanel-lovelace-ui/luibackend/pages.py", line 375, in generate_entities_item if type(item.stype) == int and len(entity.attributes.forecast) >= item.stype: ^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'AttrDict' object has no attribute 'forecast'

joBr99 commented 1 month ago

Please see #1204 and the release notes of the latest version for the error with the forecast. https://github.com/joBr99/nspanel-lovelace-ui/releases/tag/v4.4.0

spunkt123 commented 1 month ago

I am not shure if i did not understand what i should do or if we misunderstood us.

I already fixed the weather by creating an sensor. Now i also shortened my apps.yaml to be shure, that it is not the problem.

My problem is that the display is completely dark - like switched off.

I tried the following: I added app_dir to my appdaemon.yaml (described here: https://github.com/joBr99/nspanel-lovelace-ui/issues/1029#issue-1995332526) - i set it to "/conf/apps/" because I have no supervised homeassistant, but i run appdaemon in his own docker container. If i attach a shell to my appdaemon container i find my apps.yaml and nspanel-lovelace-ui folder in /conf/apps/ And I copied "nspanel-lovelace-ui" from release v4.4.0 in my apps folder.

After that i restartet everything, but the displays are staying black/off.

nspanel-schlafzimmer: module: nspanel-lovelace-ui class: NsPanelLovelaceUIManager config: panelRecvTopic: "nspanel/nspanel-schlafzimmer/appdaemon/Result" panelSendTopic: "nspanel/nspanel-schlafzimmer/appdaemon/CustomSend" model: eu updateMode: auto-notify defaultBackgroundColor: ha-dark

sleepBrightness:
  - time: "sunrise"
    value: 20
  #- time: "sunset + 1:00:00"
  #  value: 10
sleepOverride:
  entity: binary_sensor.nokia_5110_focus
  brightness: 1

#sleepTracking: input_select.patrick_abwesend

screenBrightness:
  - time: "sunrise"
    value: 60
  - time: "sunset + 1:00:00"
    value: 40

locale: "de_DE"

screensaver:
  type: screensaver2
  entities:
    - entity: weather.forecast_homeassistant
  statusIcon1:
    entity: switch.nspanel_schlafzimmer_relais_1
    icon: 'ha:{{ states("sensor.nspanel_schlafzimmer_temperatur") | round(1) }}°'
    color: '{{ iif(is_state("switch.tuyaswitch_thermostat_modus","on"), iif(is_state("switch.nspanel_schlafzimmer_relais_1","on"), "[102,201,255]", "[255,255,255]"), iif(is_state("switch.nspanel_schlafzimmer_relais_1","on"), "[255,128,0]", "[255,255,255]")) }}'
    altFont: True
  statusIcon2:
    entity: cover.tuyacurtain_schlafzimmer
    icon: 'ha:{{ iif(state_attr("cover.tuyacurtain_schlafzimmer","current_position")>50, "<I>mdi:blinds-horizontal</I>", "<I>mdi:blinds-horizontal-closed</I>") }}'
    color: [255,255,255]
    altFont: True

cards:
  - type: cardGrid
    title: Home
    key: Home
    entities:
      - entity: navigate.screensaver
        name: Home
        icon: mdi:backspace-outline
        color: [255,255,255]
      - entity: navigate.cardGrid_Thermostat
        name: Thermostat
        icon: mdi:thermometer-lines
        color: [255,255,255]
      - entity: navigate.cardGrid_Rollladen
        name: Rollladen
        icon: 'ha:{{ iif(state_attr("cover.tuyacurtain_schlafzimmer","current_position")>50, "<I>mdi:blinds-horizontal</I>", "<I>mdi:blinds-horizontal-closed</I>") }}'
        color: [255,255,255]
      - entity: cover.tuyacurtain_schlafzimmer
    sleepTimeout: 10

hiddenCards:
  - type: cardGrid
    title: Schlafzimmer
    key: Thermostat
    navItem1:
      entity: navigate.cardGrid_Home
      icon: mdi:backspace-outline
      color: [255,255,255]
    entities:
      - entity: button.nspanel_schlafzimmer_heiztemperatur_verringern
        icon: mdi:minus
        color: [255,255,255]
        name: ""
      - entity: switch.nspanel_schlafzimmer_relais_1
        icon: 'ha:{{ "{:.1f}".format( states("number.nspanel_schlafzimmer_heiztemperatur") | float) }}°'
        color: '{{ iif(is_state("switch.tuyaswitch_thermostat_modus","on"), iif(is_state("switch.nspanel_schlafzimmer_relais_1","on"), "[102,201,255]", "[255,255,255]"), iif(is_state("switch.nspanel_schlafzimmer_relais_1","on"), "[255,128,0]", "[255,255,255]")) }}'
        name: '{{ states("sensor.nspanel_schlafzimmer_temperatur") }}°'
      - entity: button.nspanel_schlafzimmer_heiztemperatur_erhoehen
        icon: mdi:plus
        color: [255,255,255]
        name: ""
      - entity: switch.nspanel_schlafzimmer_thermostat_automatik
        name: Heizen
        icon: mdi:power
        color: '{{ iif(is_state("switch.nspanel_schlafzimmer_thermostat_automatik","on"), "[255,255,255]", "[84,84,84]") }}'
      - entity: delete
      - entity: delete
    sleepTimeout: 10
  - type: cardGrid
    title: Rollladen
    key: Rollladen
    navItem1:
      entity: navigate.cardGrid_Home
      icon: mdi:backspace-outline
      color: [255,255,255]
    entities:
      - entity: script.jalousie_schliessen
        name: ''
        icon: mdi:archive-arrow-down-outline
        color: [255,255,255]
      - entity: script.jalousie_stoppen
        name: '{{ state_attr("cover.tuyacurtain_schlafzimmer","current_position") }} %'
        icon: mdi:stop
        color: [255,255,255]
      - entity: script.jalousie_oeffnen
        name: ''
        icon: mdi:archive-arrow-up-outline
        color: [255,255,255]
    sleepTimeout: 10

- [ ] Go to Settings>Add-ons>AppDaemon>Log (or the output of your TS script) and then, provide the output of the log during your issue/bug occurs:

2024-05-06 14:15:05.947110 INFO AppDaemon: AppDaemon Version 4.4.2 starting 2024-05-06 14:15:05.947310 INFO AppDaemon: Python version is 3.10.11 2024-05-06 14:15:05.947442 INFO AppDaemon: Configuration read from: /conf/appdaemon.yaml 2024-05-06 14:15:05.947573 INFO AppDaemon: Added log: AppDaemon 2024-05-06 14:15:05.947720 INFO AppDaemon: Added log: Error 2024-05-06 14:15:05.947848 INFO AppDaemon: Added log: Access 2024-05-06 14:15:05.947979 INFO AppDaemon: Added log: Diag 2024-05-06 14:15:05.975316 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin 2024-05-06 14:15:05.996952 INFO HASS: HASS Plugin Initializing 2024-05-06 14:15:05.997240 INFO HASS: HASS Plugin initialization complete 2024-05-06 14:15:05.997496 INFO AppDaemon: Loading Plugin MQTT using class MqttPlugin from module mqttplugin 2024-05-06 14:15:06.005794 INFO MQTT: MQTT Plugin Initializing 2024-05-06 14:15:06.006005 INFO MQTT: Using 'appdaemon/status' as Will Topic 2024-05-06 14:15:06.006164 INFO MQTT: Using 'appdaemon/status' as Birth Topic 2024-05-06 14:15:06.006652 INFO AppDaemon: Initializing HTTP 2024-05-06 14:15:06.006956 INFO AppDaemon: Using 'ws' for event stream 2024-05-06 14:15:06.038990 INFO AppDaemon: Starting API 2024-05-06 14:15:06.041848 INFO AppDaemon: Starting Admin Interface 2024-05-06 14:15:06.042214 INFO AppDaemon: Starting Dashboards 2024-05-06 14:15:06.054372 INFO HASS: Connected to Home Assistant 2024.5.1 2024-05-06 14:15:06.063036 INFO MQTT: Connected to Broker at URL mosquitto:1883 2024-05-06 14:15:06.149614 INFO HASS: Evaluating startup conditions 2024-05-06 14:15:06.151311 INFO AppDaemon: Got initial state from namespace mqtt 2024-05-06 14:15:06.151599 INFO MQTT: MQTT Plugin initialization complete 2024-05-06 14:15:06.158386 INFO HASS: Startup condition met: hass state=RUNNING 2024-05-06 14:15:06.158646 INFO HASS: All startup conditions met 2024-05-06 14:15:06.225264 INFO AppDaemon: Got initial state from namespace default 2024-05-06 14:15:06.226458 INFO AppDaemon: App 'nspanel-bad-og' added 2024-05-06 14:15:06.227584 INFO AppDaemon: App 'nspanel-schlafzimmer' added 2024-05-06 14:15:06.228297 INFO AppDaemon: Found 2 active apps 2024-05-06 14:15:06.228505 INFO AppDaemon: Found 0 inactive apps 2024-05-06 14:15:06.228706 INFO AppDaemon: Found 0 global libraries 2024-05-06 14:15:06.228931 INFO AppDaemon: Starting Apps with 2 workers and 2 pins 2024-05-06 14:15:06.229864 INFO AppDaemon: Running on port 5050 2024-05-06 14:15:07.235119 INFO AppDaemon: Scheduler running in realtime 2024-05-06 14:15:07.238901 INFO AppDaemon: Adding /conf/apps/ to module import path 2024-05-06 14:15:07.239221 INFO AppDaemon: Adding /conf/apps/nspanel-lovelace-ui to module import path 2024-05-06 14:15:07.239507 INFO AppDaemon: Adding /conf/apps/nspanel-lovelace-ui/luibackend to module import path 2024-05-06 14:15:07.239800 INFO AppDaemon: Adding /conf/apps/nspanel-lovelace-ui/luibackend/translations to module import path 2024-05-06 14:15:07.240137 INFO AppDaemon: Adding /conf/apps/nspanel-lovelace-ui/luibackend/translations/frontend to module import path 2024-05-06 14:15:07.240465 INFO AppDaemon: Adding /conf/apps/nspanel-lovelace-ui/luibackend/translations/backend to module import path 2024-05-06 14:15:07.249637 INFO AppDaemon: Loading App Module: /conf/apps/nspanel-lovelace-ui/nspanel-lovelace-ui.py 2024-05-06 14:15:07.279327 WARNING AppDaemon: No app description found for: /conf/apps/nspanel-lovelace-ui/luibackend/apis.py - ignoring 2024-05-06 14:15:07.280227 WARNING AppDaemon: No app description found for: /conf/apps/nspanel-lovelace-ui/luibackend/config.py - ignoring 2024-05-06 14:15:07.280984 WARNING AppDaemon: No app description found for: /conf/apps/nspanel-lovelace-ui/luibackend/controller.py - ignoring 2024-05-06 14:15:07.281719 WARNING AppDaemon: No app description found for: /conf/apps/nspanel-lovelace-ui/luibackend/helper.py - ignoring 2024-05-06 14:15:07.282410 WARNING AppDaemon: No app description found for: /conf/apps/nspanel-lovelace-ui/luibackend/icon_mapping.py - ignoring 2024-05-06 14:15:07.283162 WARNING AppDaemon: No app description found for: /conf/apps/nspanel-lovelace-ui/luibackend/icons.py - ignoring 2024-05-06 14:15:07.283925 WARNING AppDaemon: No app description found for: /conf/apps/nspanel-lovelace-ui/luibackend/localization.py - ignoring 2024-05-06 14:15:07.284625 WARNING AppDaemon: No app description found for: /conf/apps/nspanel-lovelace-ui/luibackend/mqtt.py - ignoring 2024-05-06 14:15:07.285348 WARNING AppDaemon: No app description found for: /conf/apps/nspanel-lovelace-ui/luibackend/pages.py - ignoring 2024-05-06 14:15:07.286077 WARNING AppDaemon: No app description found for: /conf/apps/nspanel-lovelace-ui/luibackend/theme.py - ignoring 2024-05-06 14:15:07.286781 WARNING AppDaemon: No app description found for: /conf/apps/nspanel-lovelace-ui/luibackend/updater.py - ignoring 2024-05-06 14:15:07.287379 INFO AppDaemon: Loading app nspanel-bad-og using class NsPanelLovelaceUIManager from module nspanel-lovelace-ui 2024-05-06 14:15:07.289335 INFO AppDaemon: Loading app nspanel-schlafzimmer using class NsPanelLovelaceUIManager from module nspanel-lovelace-ui 2024-05-06 14:15:07.292042 INFO AppDaemon: Calling initialize() for nspanel-bad-og 2024-05-06 14:15:07.403929 INFO nspanel-bad-og: Starting 2024-05-06 14:15:07.411147 INFO nspanel-bad-og: Input config: {'panelRecvTopic': 'nspanel/nspanel-bad-og/appdaemon/Result', 'panelSendTopic': 'nspanel/nspanel-bad-og/appdaemon/CustomSend', 'model': 'eu', 'updateMode': 'auto-notify', 'defaultBackgroundColor': 'ha-dark', 'sleepBrightness': [{'time': 'sunrise', 'value': 40}], 'sleepOverride': {'entity': 'switch.shellyswitch1_badog', 'brightness': 60}, 'screenBrightness': [{'time': 'sunrise', 'value': 100}, {'time': 'sunset + 1:00:00', 'value': 60}], 'locale': 'de_DE', 'screensaver': {'type': 'screensaver2', 'entities': [{'entity': 'weather.forecast_homeassistant'}], 'statusIcon1': {'entity': 'switch.nspanel_bad_og_relais_1', 'icon': 'ha:{{ states("sensor.nspanel_bad_og_temperatur") | round(1) }}°', 'color': '{{ iif(is_state("switch.tuyaswitch_thermostat_modus","on"), iif(is_state("switch.nspanel_bad_og_relais_1","on"), "[102,201,255]", "[255,255,255]"), iif(is_state("switch.nspanel_bad_og_relais_1","on"), "[255,128,0]", "[255,255,255]")) }}', 'altFont': True}, 'statusIcon2': {'entity': 'switch.tuyaplug_zirkulation', 'icon': 'mdi:thermometer-water', 'color': '{{ iif(is_state("switch.tuyaplug_zirkulation","on"), "[255,193,7]", "[180,180,180]") }}', 'altFont': True}}, 'cards': [{'type': 'cardGrid', 'title': 'Home', 'key': 'Home', 'entities': [{'entity': 'navigate.screensaver', 'name': 'Home', 'icon': 'mdi:backspace-outline', 'color': [255, 255, 255]}, {'entity': 'navigate.cardGrid_Thermostat', 'name': 'Thermostat', 'icon': 'mdi:thermometer-lines', 'color': [255, 255, 255]}, {'entity': 'navigate.cardMedia_Media', 'status': 'media_player.sonos_bad_og', 'name': 'Musik', 'icon': 'mdi:music-box-outline', 'color': [255, 255, 255]}], 'sleepTimeout': 10}], 'hiddenCards': [{'type': 'cardGrid', 'title': 'Bad OG', 'key': 'Thermostat', 'navItem1': {'entity': 'navigate.cardGrid_Home', 'icon': 'mdi:backspace-outline', 'color': [255, 255, 255]}, 'entities': [{'entity': 'button.nspanel_bad_og_heiztemperatur_verringern', 'icon': 'mdi:minus', 'color': [255, 255, 255], 'name': ''}, {'entity': 'switch.nspanel_bad_og_relais_1', 'icon': 'ha:{{ "{:.1f}".format( states("number.nspanel_bad_og_heiztemperatur") | float) }}°', 'color': '{{ iif(is_state("switch.tuyaswitch_thermostat_modus","on"), iif(is_state("switch.nspanel_bad_og_relais_1","on"), "[102,201,255]", "[255,255,255]"), iif(is_state("switch.nspanel_bad_og_relais_1","on"), "[255,128,0]", "[255,255,255]")) }}', 'name': '{{ states("sensor.nspanel_bad_og_temperatur") }}°'}, {'entity': 'button.nspanel_bad_og_heiztemperatur_erhoehen', 'icon': 'mdi:plus', 'color': [255, 255, 255], 'name': ''}, {'entity': 'switch.nspanel_bad_og_thermostat_automatik', 'name': 'Heizen', 'icon': 'mdi:power', 'color': '{{ iif(is_state("switch.nspanel_bad_og_thermostat_automatik","on"), "[255,255,255]", "[84,84,84]") }}'}, {'entity': 'delete'}, {'entity': 'switch.tuyaplug_zirkulation', 'name': 'Zirkulation', 'icon': 'mdi:thermometer-water', 'color': '{{ iif(is_state("switch.tuyaplug_zirkulation","on"), "[255,193,7]", "[255,255,255]") }}'}], 'sleepTimeout': 10}, {'type': 'cardMedia', 'title': 'Musik', 'key': 'Media', 'navItem1': {'entity': 'navigate.cardGrid_Home', 'icon': 'mdi:backspace-outline', 'color': [255, 255, 255]}, 'entity': 'media_player.sonos_bad_og', 'entities': [{'entity': 'delete'}, {'entity': 'delete'}, {'entity': 'delete'}, {'entity': 'delete'}, {'entity': 'delete'}], 'sleepTimeout': 0}]} 2024-05-06 14:15:07.412723 INFO nspanel-bad-og: Loaded config: {'panelRecvTopic': 'nspanel/nspanel-bad-og/appdaemon/Result', 'panelSendTopic': 'nspanel/nspanel-bad-og/appdaemon/CustomSend', 'updateMode': 'auto-notify', 'model': 'eu', 'sleepTimeout': 20, 'sleepBrightness': [{'time': 'sunrise', 'value': 40}], 'screenBrightness': [{'time': 'sunrise', 'value': 100}, {'time': 'sunset + 1:00:00', 'value': 60}], 'defaultBackgroundColor': 'ha-dark', 'featureExperimentalSliders': False, 'sleepTracking': None, 'sleepTrackingZones': ['not_home', 'off'], 'sleepOverride': {'entity': 'switch.shellyswitch1_badog', 'brightness': 60}, 'locale': 'de_DE', 'quiet': True, 'timeFormat': '%H:%M', 'dateFormatBabel': 'full', 'dateAdditionalTemplate': '', 'timeAdditionalTemplate': '', 'dateFormat': '%A, %d. %B %Y', 'cards': [{'type': 'cardGrid', 'title': 'Home', 'key': 'Home', 'entities': [{'entity': 'navigate.screensaver', 'name': 'Home', 'icon': 'mdi:backspace-outline', 'color': [255, 255, 255]}, {'entity': 'navigate.cardGrid_Thermostat', 'name': 'Thermostat', 'icon': 'mdi:thermometer-lines', 'color': [255, 255, 255]}, {'entity': 'navigate.cardMedia_Media', 'status': 'media_player.sonos_bad_og', 'name': 'Musik', 'icon': 'mdi:music-box-outline', 'color': [255, 255, 255]}], 'sleepTimeout': 10}], 'screensaver': {'type': 'screensaver2', 'entity': 'weather.example', 'weatherUnit': 'celsius', 'forecastSkip': 0, 'weatherOverrideForecast1': None, 'weatherOverrideForecast2': None, 'weatherOverrideForecast3': None, 'weatherOverrideForecast4': None, 'doubleTapToUnlock': False, 'alternativeLayout': False, 'defaultCard': None, 'key': 'screensaver', 'entities': [{'entity': 'weather.forecast_homeassistant'}], 'statusIcon1': {'entity': 'switch.nspanel_bad_og_relais_1', 'icon': 'ha:{{ states("sensor.nspanel_bad_og_temperatur") | round(1) }}°', 'color': '{{ iif(is_state("switch.tuyaswitch_thermostat_modus","on"), iif(is_state("switch.nspanel_bad_og_relais_1","on"), "[102,201,255]", "[255,255,255]"), iif(is_state("switch.nspanel_bad_og_relais_1","on"), "[255,128,0]", "[255,255,255]")) }}', 'altFont': True}, 'statusIcon2': {'entity': 'switch.tuyaplug_zirkulation', 'icon': 'mdi:thermometer-water', 'color': '{{ iif(is_state("switch.tuyaplug_zirkulation","on"), "[255,193,7]", "[180,180,180]") }}', 'altFont': True}}, 'hiddenCards': [{'type': 'cardGrid', 'title': 'Bad OG', 'key': 'Thermostat', 'navItem1': {'entity': 'navigate.cardGrid_Home', 'icon': 'mdi:backspace-outline', 'color': [255, 255, 255]}, 'entities': [{'entity': 'button.nspanel_bad_og_heiztemperatur_verringern', 'icon': 'mdi:minus', 'color': [255, 255, 255], 'name': ''}, {'entity': 'switch.nspanel_bad_og_relais_1', 'icon': 'ha:{{ "{:.1f}".format( states("number.nspanel_bad_og_heiztemperatur") | float) }}°', 'color': '{{ iif(is_state("switch.tuyaswitch_thermostat_modus","on"), iif(is_state("switch.nspanel_bad_og_relais_1","on"), "[102,201,255]", "[255,255,255]"), iif(is_state("switch.nspanel_bad_og_relais_1","on"), "[255,128,0]", "[255,255,255]")) }}', 'name': '{{ states("sensor.nspanel_bad_og_temperatur") }}°'}, {'entity': 'button.nspanel_bad_og_heiztemperatur_erhoehen', 'icon': 'mdi:plus', 'color': [255, 255, 255], 'name': ''}, {'entity': 'switch.nspanel_bad_og_thermostat_automatik', 'name': 'Heizen', 'icon': 'mdi:power', 'color': '{{ iif(is_state("switch.nspanel_bad_og_thermostat_automatik","on"), "[255,255,255]", "[84,84,84]") }}'}, {'entity': 'delete'}, {'entity': 'switch.tuyaplug_zirkulation', 'name': 'Zirkulation', 'icon': 'mdi:thermometer-water', 'color': '{{ iif(is_state("switch.tuyaplug_zirkulation","on"), "[255,193,7]", "[255,255,255]") }}'}], 'sleepTimeout': 10}, {'type': 'cardMedia', 'title': 'Musik', 'key': 'Media', 'navItem1': {'entity': 'navigate.cardGrid_Home', 'icon': 'mdi:backspace-outline', 'color': [255, 255, 255]}, 'entity': 'media_player.sonos_bad_og', 'entities': [{'entity': 'delete'}, {'entity': 'delete'}, {'entity': 'delete'}, {'entity': 'delete'}, {'entity': 'delete'}], 'sleepTimeout': 0}]} 2024-05-06 14:15:07.420950 INFO nspanel-bad-og: Chooseing {'time': 'sunrise', 'value': 40} as fallback 2024-05-06 14:15:07.430333 INFO nspanel-bad-og: Configuring Sleep Override. Config is {'entity': 'switch.shellyswitch1_badog', 'brightness': 60} 2024-05-06 14:15:07.432513 INFO nspanel-bad-og: gtest123: ['navigate.screensaver', 'navigate.cardGrid_Thermostat', 'navigate.cardMedia_Media', 'media_player.sonos_bad_og', 'button.nspanel_bad_og_heiztemperatur_verringern', 'switch.nspanel_bad_og_relais_1', 'button.nspanel_bad_og_heiztemperatur_erhoehen', 'switch.nspanel_bad_og_thermostat_automatik', 'delete', 'switch.tuyaplug_zirkulation', 'media_player.sonos_bad_og', 'delete', 'delete', 'delete', 'delete', 'delete', 'weather.example', 'switch.nspanel_bad_og_relais_1', 'switch.tuyaplug_zirkulation', 'weather.forecast_homeassistant'] 2024-05-06 14:15:07.433682 INFO nspanel-bad-og: Registering callbacks for the following items: ['media_player.sonos_bad_og', 'button.nspanel_bad_og_heiztemperatur_verringern', 'switch.nspanel_bad_og_relais_1', 'button.nspanel_bad_og_heiztemperatur_erhoehen', 'switch.nspanel_bad_og_thermostat_automatik', 'switch.tuyaplug_zirkulation', 'media_player.sonos_bad_og', 'weather.example', 'switch.nspanel_bad_og_relais_1', 'switch.tuyaplug_zirkulation', 'weather.forecast_homeassistant'] 2024-05-06 14:15:07.450608 INFO nspanel-bad-og: Started (v4.3.3) 2024-05-06 14:15:07.451906 INFO AppDaemon: Calling initialize() for nspanel-schlafzimmer 2024-05-06 14:15:07.454680 INFO nspanel-schlafzimmer: Starting 2024-05-06 14:15:07.457980 INFO nspanel-schlafzimmer: Input config: {'panelRecvTopic': 'nspanel/nspanel-schlafzimmer/appdaemon/Result', 'panelSendTopic': 'nspanel/nspanel-schlafzimmer/appdaemon/CustomSend', 'model': 'eu', 'updateMode': 'auto-notify', 'defaultBackgroundColor': 'ha-dark', 'sleepBrightness': [{'time': 'sunrise', 'value': 20}], 'sleepOverride': {'entity': 'binary_sensor.nokia_5110_focus', 'brightness': 1}, 'screenBrightness': [{'time': 'sunrise', 'value': 60}, {'time': 'sunset + 1:00:00', 'value': 40}], 'locale': 'de_DE', 'screensaver': {'type': 'screensaver2', 'entities': [{'entity': 'weather.forecast_homeassistant'}], 'statusIcon1': {'entity': 'switch.nspanel_schlafzimmer_relais_1', 'icon': 'ha:{{ states("sensor.nspanel_schlafzimmer_temperatur") | round(1) }}°', 'color': '{{ iif(is_state("switch.tuyaswitch_thermostat_modus","on"), iif(is_state("switch.nspanel_schlafzimmer_relais_1","on"), "[102,201,255]", "[255,255,255]"), iif(is_state("switch.nspanel_schlafzimmer_relais_1","on"), "[255,128,0]", "[255,255,255]")) }}', 'altFont': True}, 'statusIcon2': {'entity': 'cover.tuyacurtain_schlafzimmer', 'icon': 'ha:{{ iif(state_attr("cover.tuyacurtain_schlafzimmer","current_position")>50, "mdi:blinds-horizontal", "mdi:blinds-horizontal-closed") }}', 'color': [255, 255, 255], 'altFont': True}}, 'cards': [{'type': 'cardGrid', 'title': 'Home', 'key': 'Home', 'entities': [{'entity': 'navigate.screensaver', 'name': 'Home', 'icon': 'mdi:backspace-outline', 'color': [255, 255, 255]}, {'entity': 'navigate.cardGrid_Thermostat', 'name': 'Thermostat', 'icon': 'mdi:thermometer-lines', 'color': [255, 255, 255]}, {'entity': 'navigate.cardGrid_Rollladen', 'name': 'Rollladen', 'icon': 'ha:{{ iif(state_attr("cover.tuyacurtain_schlafzimmer","current_position")>50, "mdi:blinds-horizontal", "mdi:blinds-horizontal-closed") }}', 'color': [255, 255, 255]}, {'entity': 'cover.tuyacurtain_schlafzimmer'}], 'sleepTimeout': 10}], 'hiddenCards': [{'type': 'cardGrid', 'title': 'Schlafzimmer', 'key': 'Thermostat', 'navItem1': {'entity': 'navigate.cardGrid_Home', 'icon': 'mdi:backspace-outline', 'color': [255, 255, 255]}, 'entities': [{'entity': 'button.nspanel_schlafzimmer_heiztemperatur_verringern', 'icon': 'mdi:minus', 'color': [255, 255, 255], 'name': ''}, {'entity': 'switch.nspanel_schlafzimmer_relais_1', 'icon': 'ha:{{ "{:.1f}".format( states("number.nspanel_schlafzimmer_heiztemperatur") | float) }}°', 'color': '{{ iif(is_state("switch.tuyaswitch_thermostat_modus","on"), iif(is_state("switch.nspanel_schlafzimmer_relais_1","on"), "[102,201,255]", "[255,255,255]"), iif(is_state("switch.nspanel_schlafzimmer_relais_1","on"), "[255,128,0]", "[255,255,255]")) }}', 'name': '{{ states("sensor.nspanel_schlafzimmer_temperatur") }}°'}, {'entity': 'button.nspanel_schlafzimmer_heiztemperatur_erhoehen', 'icon': 'mdi:plus', 'color': [255, 255, 255], 'name': ''}, {'entity': 'switch.nspanel_schlafzimmer_thermostat_automatik', 'name': 'Heizen', 'icon': 'mdi:power', 'color': '{{ iif(is_state("switch.nspanel_schlafzimmer_thermostat_automatik","on"), "[255,255,255]", "[84,84,84]") }}'}, {'entity': 'delete'}, {'entity': 'delete'}], 'sleepTimeout': 10}, {'type': 'cardGrid', 'title': 'Rollladen', 'key': 'Rollladen', 'navItem1': {'entity': 'navigate.cardGrid_Home', 'icon': 'mdi:backspace-outline', 'color': [255, 255, 255]}, 'entities': [{'entity': 'script.jalousie_schliessen', 'name': '', 'icon': 'mdi:archive-arrow-down-outline', 'color': [255, 255, 255]}, {'entity': 'script.jalousie_stoppen', 'name': '{{ state_attr("cover.tuyacurtain_schlafzimmer","current_position") }} %', 'icon': 'mdi:stop', 'color': [255, 255, 255]}, {'entity': 'script.jalousie_oeffnen', 'name': '', 'icon': 'mdi:archive-arrow-up-outline', 'color': [255, 255, 255]}], 'sleepTimeout': 10}]} 2024-05-06 14:15:07.459401 INFO nspanel-schlafzimmer: Loaded config: {'panelRecvTopic': 'nspanel/nspanel-schlafzimmer/appdaemon/Result', 'panelSendTopic': 'nspanel/nspanel-schlafzimmer/appdaemon/CustomSend', 'updateMode': 'auto-notify', 'model': 'eu', 'sleepTimeout': 20, 'sleepBrightness': [{'time': 'sunrise', 'value': 20}], 'screenBrightness': [{'time': 'sunrise', 'value': 60}, {'time': 'sunset + 1:00:00', 'value': 40}], 'defaultBackgroundColor': 'ha-dark', 'featureExperimentalSliders': False, 'sleepTracking': None, 'sleepTrackingZones': ['not_home', 'off'], 'sleepOverride': {'entity': 'binary_sensor.nokia_5110_focus', 'brightness': 1}, 'locale': 'de_DE', 'quiet': True, 'timeFormat': '%H:%M', 'dateFormatBabel': 'full', 'dateAdditionalTemplate': '', 'timeAdditionalTemplate': '', 'dateFormat': '%A, %d. %B %Y', 'cards': [{'type': 'cardGrid', 'title': 'Home', 'key': 'Home', 'entities': [{'entity': 'navigate.screensaver', 'name': 'Home', 'icon': 'mdi:backspace-outline', 'color': [255, 255, 255]}, {'entity': 'navigate.cardGrid_Thermostat', 'name': 'Thermostat', 'icon': 'mdi:thermometer-lines', 'color': [255, 255, 255]}, {'entity': 'navigate.cardGrid_Rollladen', 'name': 'Rollladen', 'icon': 'ha:{{ iif(state_attr("cover.tuyacurtain_schlafzimmer","current_position")>50, "mdi:blinds-horizontal", "mdi:blinds-horizontal-closed") }}', 'color': [255, 255, 255]}, {'entity': 'cover.tuyacurtain_schlafzimmer'}], 'sleepTimeout': 10}], 'screensaver': {'type': 'screensaver2', 'entity': 'weather.example', 'weatherUnit': 'celsius', 'forecastSkip': 0, 'weatherOverrideForecast1': None, 'weatherOverrideForecast2': None, 'weatherOverrideForecast3': None, 'weatherOverrideForecast4': None, 'doubleTapToUnlock': False, 'alternativeLayout': False, 'defaultCard': None, 'key': 'screensaver', 'entities': [{'entity': 'weather.forecast_homeassistant'}], 'statusIcon1': {'entity': 'switch.nspanel_schlafzimmer_relais_1', 'icon': 'ha:{{ states("sensor.nspanel_schlafzimmer_temperatur") | round(1) }}°', 'color': '{{ iif(is_state("switch.tuyaswitch_thermostat_modus","on"), iif(is_state("switch.nspanel_schlafzimmer_relais_1","on"), "[102,201,255]", "[255,255,255]"), iif(is_state("switch.nspanel_schlafzimmer_relais_1","on"), "[255,128,0]", "[255,255,255]")) }}', 'altFont': True}, 'statusIcon2': {'entity': 'cover.tuyacurtain_schlafzimmer', 'icon': 'ha:{{ iif(state_attr("cover.tuyacurtain_schlafzimmer","current_position")>50, "mdi:blinds-horizontal", "mdi:blinds-horizontal-closed") }}', 'color': [255, 255, 255], 'altFont': True}}, 'hiddenCards': [{'type': 'cardGrid', 'title': 'Schlafzimmer', 'key': 'Thermostat', 'navItem1': {'entity': 'navigate.cardGrid_Home', 'icon': 'mdi:backspace-outline', 'color': [255, 255, 255]}, 'entities': [{'entity': 'button.nspanel_schlafzimmer_heiztemperatur_verringern', 'icon': 'mdi:minus', 'color': [255, 255, 255], 'name': ''}, {'entity': 'switch.nspanel_schlafzimmer_relais_1', 'icon': 'ha:{{ "{:.1f}".format( states("number.nspanel_schlafzimmer_heiztemperatur") | float) }}°', 'color': '{{ iif(is_state("switch.tuyaswitch_thermostat_modus","on"), iif(is_state("switch.nspanel_schlafzimmer_relais_1","on"), "[102,201,255]", "[255,255,255]"), iif(is_state("switch.nspanel_schlafzimmer_relais_1","on"), "[255,128,0]", "[255,255,255]")) }}', 'name': '{{ states("sensor.nspanel_schlafzimmer_temperatur") }}°'}, {'entity': 'button.nspanel_schlafzimmer_heiztemperatur_erhoehen', 'icon': 'mdi:plus', 'color': [255, 255, 255], 'name': ''}, {'entity': 'switch.nspanel_schlafzimmer_thermostat_automatik', 'name': 'Heizen', 'icon': 'mdi:power', 'color': '{{ iif(is_state("switch.nspanel_schlafzimmer_thermostat_automatik","on"), "[255,255,255]", "[84,84,84]") }}'}, {'entity': 'delete'}, {'entity': 'delete'}], 'sleepTimeout': 10}, {'type': 'cardGrid', 'title': 'Rollladen', 'key': 'Rollladen', 'navItem1': {'entity': 'navigate.cardGrid_Home', 'icon': 'mdi:backspace-outline', 'color': [255, 255, 255]}, 'entities': [{'entity': 'script.jalousie_schliessen', 'name': '', 'icon': 'mdi:archive-arrow-down-outline', 'color': [255, 255, 255]}, {'entity': 'script.jalousie_stoppen', 'name': '{{ state_attr("cover.tuyacurtain_schlafzimmer","current_position") }} %', 'icon': 'mdi:stop', 'color': [255, 255, 255]}, {'entity': 'script.jalousie_oeffnen', 'name': '', 'icon': 'mdi:archive-arrow-up-outline', 'color': [255, 255, 255]}], 'sleepTimeout': 10}]} 2024-05-06 14:15:07.465361 INFO nspanel-schlafzimmer: Chooseing {'time': 'sunrise', 'value': 20} as fallback 2024-05-06 14:15:07.473707 INFO nspanel-schlafzimmer: Configuring Sleep Override. Config is {'entity': 'binary_sensor.nokia_5110_focus', 'brightness': 1} 2024-05-06 14:15:07.475894 INFO nspanel-schlafzimmer: gtest123: ['navigate.screensaver', 'navigate.cardGrid_Thermostat', 'navigate.cardGrid_Rollladen', 'cover.tuyacurtain_schlafzimmer', 'button.nspanel_schlafzimmer_heiztemperatur_verringern', 'switch.nspanel_schlafzimmer_relais_1', 'button.nspanel_schlafzimmer_heiztemperatur_erhoehen', 'switch.nspanel_schlafzimmer_thermostat_automatik', 'delete', 'delete', 'script.jalousie_schliessen', 'script.jalousie_stoppen', 'script.jalousie_oeffnen', 'weather.example', 'switch.nspanel_schlafzimmer_relais_1', 'cover.tuyacurtain_schlafzimmer', 'weather.forecast_homeassistant'] 2024-05-06 14:15:07.477002 INFO nspanel-schlafzimmer: Registering callbacks for the following items: ['cover.tuyacurtain_schlafzimmer', 'button.nspanel_schlafzimmer_heiztemperatur_verringern', 'switch.nspanel_schlafzimmer_relais_1', 'button.nspanel_schlafzimmer_heiztemperatur_erhoehen', 'switch.nspanel_schlafzimmer_thermostat_automatik', 'script.jalousie_schliessen', 'script.jalousie_stoppen', 'script.jalousie_oeffnen', 'weather.example', 'switch.nspanel_schlafzimmer_relais_1', 'cover.tuyacurtain_schlafzimmer', 'weather.forecast_homeassistant'] 2024-05-06 14:15:07.494900 INFO nspanel-schlafzimmer: Started (v4.3.3) 2024-05-06 14:15:07.496382 INFO AppDaemon: App initialization complete 2024-05-06 14:15:07.654507 INFO nspanel-schlafzimmer: MQTT callback for: {'topic': 'nspanel/nspanel-bad-og/appdaemon/Result', 'wildcard': None, 'payload': '{"nlui_driver_version":999}'} 2024-05-06 14:15:07.655960 INFO nspanel-bad-og: Update Pre-Check failed Tasmota Driver Version: 999 Panel Version: None 2024-05-06 14:15:07.696710 INFO nspanel-schlafzimmer: MQTT callback for: {'topic': 'nspanel/nspanel-schlafzimmer/appdaemon/Result', 'wildcard': None, 'payload': '{"nlui_driver_version":999}'} 2024-05-06 14:15:07.700380 INFO nspanel-schlafzimmer: Update Pre-Check failed Tasmota Driver Version: 999 Panel Version: None

joBr99 commented 1 month ago

Sorry my message was for KaVo194 that posted an error with the forecast issue is completely unrelated to this.

For the black screen, I cannot see any errors in your log. The brightness of the display is send with the dimmode command.

CustomSend dimmode~10~100~6371 in the tasmota console should result in 10% brightness in screensaver and 100 outside of the screensaver. If your panel goes dark it should be related to a dimmode command sent to your panel, but I cannot see dimmode commands in your log either.