Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Display suddently black #1219

Open
2 tasks
spunkt123 opened this issue Apr 27, 2024 · 5 comments
Open
2 tasks

[BUG] Display suddently black #1219

spunkt123 opened this issue Apr 27, 2024 · 5 comments
Labels
bug Something isn't working homeassistant

Comments

@spunkt123
Copy link

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!

  • Provide your apps.yaml (or your config):
  apps.yaml here:


  • 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, "<I>mdi:snowflake</I>", "<I>mdi:thermometer-lines</I>") }}', '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:{{ "<I>mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[0].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ "</I>"}}', '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:{{ "<I>mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[1].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ "</I>"}}', '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:{{ "<I>mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[2].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ "</I>"}}', '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:{{ "<I>mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[3].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ "</I>"}}', '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:{{ "<I>mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[4].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ "</I>"}}', '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:{{ "<I>mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[5].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ "</I>"}}', '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, "<I>mdi:snowflake</I>", "<I>mdi:thermometer-lines</I>") }}', '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:{{ "<I>mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[0].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ "</I>"}}', '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:{{ "<I>mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[1].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ "</I>"}}', '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:{{ "<I>mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[2].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ "</I>"}}', '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:{{ "<I>mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[3].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ "</I>"}}', '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:{{ "<I>mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[4].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ "</I>"}}', '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:{{ "<I>mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[5].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ "</I>"}}', '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, "<I>mdi:snowflake</I>", "<I>mdi:thermometer-lines</I>") }}', '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:{{ "<I>mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[0].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ "</I>"}}', '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:{{ "<I>mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[1].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ "</I>"}}', '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:{{ "<I>mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[2].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ "</I>"}}', '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:{{ "<I>mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[3].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ "</I>"}}', '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:{{ "<I>mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[4].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ "</I>"}}', '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:{{ "<I>mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[5].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ "</I>"}}', '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, "<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}]}
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, "<I>mdi:blinds-horizontal</I>", "<I>mdi:blinds-horizontal-closed</I>") }}', '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, "<I>mdi:snowflake</I>", "<I>mdi:thermometer-lines</I>") }}', '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:{{ "<I>mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[0].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ "</I>"}}', '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:{{ "<I>mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[1].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ "</I>"}}', '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:{{ "<I>mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[2].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ "</I>"}}', '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:{{ "<I>mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[3].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ "</I>"}}', '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:{{ "<I>mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[4].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ "</I>"}}', '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:{{ "<I>mdi:weather-" ~ state_attr("sensor.forecast_homeassistant_hourly","forecast")[5].condition | replace("partlycloudy","partly-cloudy") | replace("clear-night","night") | replace("exceptional","cloudy-alert") ~ "</I>"}}', '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, "<I>mdi:blinds-horizontal</I>", "<I>mdi:blinds-horizontal-closed</I>") }}', '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

@spunkt123 spunkt123 added the bug Something isn't working label Apr 27, 2024
@KaVo194

This comment was marked as off-topic.

@KaVo194

This comment was marked as off-topic.

@joBr99

This comment was marked as off-topic.

@spunkt123
Copy link
Author

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: #1029 (comment)) - 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.

  • Provide your apps.yaml (or your config):
nspanel-bad-og:
  module: nspanel-lovelace-ui
  class: NsPanelLovelaceUIManager
  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
      #- time: "sunset + 1:00:00"
      #  value: 20
    sleepOverride:
      entity: switch.shellyswitch1_badog
      brightness: 60

    #sleepTracking: input_select.patrick_abwesend

    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

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, "<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}]}
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, "<I>mdi:blinds-horizontal</I>", "<I>mdi:blinds-horizontal-closed</I>") }}', '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, "<I>mdi:blinds-horizontal</I>", "<I>mdi:blinds-horizontal-closed</I>") }}', '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
Copy link
Owner

joBr99 commented May 6, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working homeassistant
Projects
None yet
Development

No branches or pull requests

4 participants