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

idle time after location change too short #224

Open
kwithus opened this issue Apr 7, 2024 · 3 comments
Open

idle time after location change too short #224

kwithus opened this issue Apr 7, 2024 · 3 comments

Comments

@kwithus
Copy link
Contributor

kwithus commented Apr 7, 2024

I have set the stop_screensaver_on_location_change to true, generally that does work. When I click on a button with action navigation, the respective tab is shown and the screensaver stops. However, it comes back within 5 seconds, although the idle time for the screensaver is set to 30 sec.
How can I manage to have the screensaver stopped for a longer period ?

@j-a-n
Copy link
Owner

j-a-n commented May 1, 2024

I cannot reproduce the problem.
After the screensaver has been stopped during navigation, it is restarted after the set idle_time.
What does your wallpanel configuration look like?

@kwithus
Copy link
Contributor Author

kwithus commented May 1, 2024

well, it’s a quite complex and long configuration
Actually my wallpanel is my main dashboard.


"title": "Withus",
      "wallpanel": {
        "enabled": true,
        "idle_time": 60,
        "card_interaction": true,
        "enabled_on_tabs": null,
        "image_url": "/",
        "image_fit": "scale-down",
        "display_time": 30,
        "hide_toolbar": false,
        "hide_sidebar": false,
        "fullscreen": true,
        "image_order": "random",
        "show_image_info": true,
        "fetch_address_data": true,
        "image_info_template": "<span style=\"font-family: 'Roboto Condensed', sans-serif; font-size: 1em; font-weight: 400; color:#FFB90F\"> </span>    ${address.tourism!prefix=!suffix=; } ${adress.country_code|address.country!prefix=!suffix=;  }  ${address.town|address.city|address.municipality|adress.village|address.county|address.region!suffix= / }  ${DateTimeOriginal} ",
        "image_list_update_interval": 7200,
        "screensaver_entity": "input_boolean.wallpaper_screensaver",
        "stop_screensaver_on_location_change": true,
        "style": {
          "wallpanel-screensaver-image-info": {
            "position": "absolute",
            "bottom": "300px",
            "right": "1.0em",
            "font-size": "2.0em",
            "-webkit-text-stroke": "0.02em #000",
            "color": "#ff9a00",
            "font-weight": "900",
            "font-family": "monospace"
          },
          "wallpanel-screensaver-info-box": {
            "--wp-card-width": "800px"
          },
          "wallpanel-screensaver-info-box-content": {
            "--ha-card-background": "rgba(131,139,131,0)",
            "--ha-card-box-shadow": "none",
            "text-shadow": "-0.5px -0.5px 0 rgb(17, 17, 17), 0.5px -0.5px 0 rgb(17, 17, 17), -0.5px 0.5px 0 rgb(17, 17, 17), 0.5px 0.5px 0 rgb(17, 17, 17)",
            "--primary-text-color": "#ffffff",
            "--secondary-text-color": "#dddddd"
          }
        },
        "cards": [
          {
            "type": "glance",
            "show_name": false,
            "show_icon": false,
            "show_state": true,
            "entities": [
              {
                "entity": "sensor.datum",
                "card_mod": {
                  "style": "div:not(.name) {\nfont-size: 19px;\n }\n"
                }
              },
              {
                "entity": "sensor.uhrzeit",
                "card_mod": {
                  "style": "div:not(.name) {\nfont-size: 20px;\n }\n"
                }
              },
              {
                "entity": "sensor.wochentag",
                "card_mod": {
                  "style": "div:not(.name) {\nfont-size: 20px;\n }\n"
                }
              }
            ],
            "columns": 1,
            "wp_style": {
              "width": "180px",
              "grid-row": 1,
              "grid-column": 1,
              "margin-top": "-10px",
              "margin-left": "-60px",
              "font_size": "5rem"
            },
            "icon": "none",
            "name": " "
          },
          {
            "type": "glance",
            "wp_style": {
              "grid-row": 1,
              "grid-column": 2,
              "margin-left": "-80px",
              "margin-top": "-10px",
              "width": "100px"
            },
            "entities": [
              {
                "entity": "binary_sensor.regensensoren",
                "tap_action": {
                  "action": "navigate",
                  "navigation_path": "/home-2/garten"
                }
              }
            ],
            "show_name": true,
            "show_state": true,
            "icon_height": "10px"
          },
          {
            "type": "gauge",
            "wp_style": {
              "width": "130px",
              "grid-row": 1,
              "grid-column": 3,
              "margin-top": "-45px",
              "margin-left": "-120px",
              "font_size": "2rem"
            },
            "min": 0,
            "max": 100,
            "entity": "sensor.aussentemperatur",
            "needle": true,
            "severity": {
              "green": 80,
              "yellow": 40,
              "red": 0
            },
            "name": "Außen Temp."
          },
          {
            "type": "gauge",
            "wp_style": {
              "width": "130px",
              "grid-row": 1,
              "grid-column": 4,
              "margin-top": "-45px",
              "margin-left": "-140px",
              "font_size": "2rem"
            },
            "min": 0,
            "max": 100,
            "entity": "sensor.wetterstation_windgeschwindigkeit",
            "needle": true,
            "severity": {
              "green": 80,
              "yellow": 40,
              "red": 0
            },
            "name": "Wind Aktuell"
          },
          {
            "type": "weather-forecast",
            "wp_style": {
              "width": "250px",
              "margin-top": "-55px",
              "margin-left": "-145px",
              "grid-row": 1,
              "grid-column": 5
            },
            "name": "Vorhersage",
            "show_current": false,
            "show_forecast": true,
            "entity": "weather.wettervorhersage_pirateweather"
          },
          {
            "type": "custom:button-card",
            "tap_action": {
              "action": "navigate",
              "navigation_path": "/home-2/fenster"
            },
            "entity": "binary_sensor.fenster_erdgeschoss",
            "wp_style": {
              "width": "150px",
              "margin-top": "-10px",
              "margin-left": "-60px",
              "grid-row": 1,
              "grid-column": 6
            },
            "name": "Fenster EG",
            "show_state": false,
            "show_icon": false,
            "theme": "synthwave",
            "card_mod": {
              "style": "\nha-card {\n     color: black;\n     font-size: 30px; \n     {% if states (config.entity) == 'on' %} background: rgba(238,64,0, 0.9) \n\n     {% else %} background: rgb(78,238,148,0.6)\n     {% endif %};\n     size: 30px;\n     {% if states (config.entity) == 'on' %} animation: blinking 4s linear alternate infinite\n\n     {% else %} \n     {% endif %};    \n     \n   }      \n@keyframes blinking {\n     60% {opacity: .4;}\n     100% {opacity: 1;}\n   }\n"
            }
          },
          {
            "type": "custom:button-card",
            "entity": "binary_sensor.fenster_obergeschoss",
            "tap_action": {
              "action": "navigate",
              "navigation_path": "/home-2/fenster"
            },
            "wp_style": {
              "width": "150px",
              "margin-top": "30px",
              "margin-left": "-60px",
              "grid-row": 1,
              "grid-column": 6
            },
            "name": "Fenster OG",
            "show_state": false,
            "show_icon": false,
            "theme": "synthwave",
            "card_mod": {
              "style": "\nha-card {\n     color: black;\n     font-size: 30px; \n     {% if states (config.entity) == 'on' %} background: rgba(238,64,0, 0.9) \n\n     {% else %} background: rgb(78,238,148,0.6)\n     {% endif %};\n     size: 30px;\n     {% if states (config.entity) == 'on' %} animation: blinking 4s linear alternate infinite\n\n     {% else %} \n     {% endif %};    \n     \n   }      \n@keyframes blinking {\n     60% {opacity: .4;}\n     100% {opacity: 1;}\n   }\n"
            }
          },
          {
            "type": "custom:button-card",
            "entity": "binary_sensor.fenster_dach",
            "tap_action": {
              "action": "navigate",
              "navigation_path": "/home-2/fenster"
            },
            "wp_style": {
              "width": "150px",
              "margin-top": "70px",
              "margin-left": "-60px",
              "grid-row": 1,
              "grid-column": 6
            },
            "name": "Fenster Dach",
            "show_state": false,
            "show_icon": false,
            "theme": "synthwave",
            "card_mod": {
              "style": "\nha-card {\n     color: black;\n     font-size: 30px; \n     {% if states (config.entity) == 'on' %} background: rgba(238,64,0, 0.9) \n\n     {% else %} background: rgb(78,238,148,0.6)\n     {% endif %};\n     size: 30px;\n     {% if states (config.entity) == 'on' %} animation: blinking 4s linear alternate infinite\n\n     {% else %} \n     {% endif %};    \n     \n   }      \n@keyframes blinking {\n     60% {opacity: .4;}\n     100% {opacity: 1;}\n   }\n"
            }
          },
          {
            "type": "custom:button-card",
            "entity": "binary_sensor.keller_aussentur",
            "wp_style": {
              "width": "150px",
              "margin-top": "-10px",
              "margin-left": "-120px",
              "grid-row": 1,
              "grid-column": 7
            },
            "name": "Kellerausgang",
            "show_state": true,
            "show_icon": false,
            "theme": "synthwave",
            "card_mod": {
              "style": "\nha-card {\n color: black;\n font-size: 10px; \n {% if states (config.entity) == 'off' %} background: green\n\n {% else %} background: red\n {% endif %};\n {% if states (config.entity) == 'on' %} animation: blinking 4s linear alternate infinite\n\n {% else %} \n\n {% endif %};    \n size: 10px;\n \n  }      \n  @keyframes blinking {\n 30% {opacity: .2;}\n 100% {opacity: .6;}\n }\n"
            }
          },
          {
            "type": "custom:button-card",
            "entity": "sensor.garagentor_turzustand",
            "wp_style": {
              "width": "150px",
              "margin-top": "60px",
              "margin-left": "-120px",
              "grid-row": 1,
              "grid-column": 7
            },
            "name": "Garagentor",
            "show_state": true,
            "show_icon": false,
            "theme": "synthwave",
            "card_mod": {
              "style": "\nha-card {\n color: black;\n font-size: 10px; \n {% if states (config.entity) == 'closed' %} background: green\n\n {% else %} background: red\n {% endif %};\n {% if states (config.entity) == 'open' %} animation: blinking 4s linear alternate infinite\n\n {% else %} \n\n {% endif %};    \n size: 10px;\n \n  }      \n  @keyframes blinking {\n 30% {opacity: .2;}\n 100% {opacity: .6;}\n }\n\n   \n"
            }
          },
          {
            "type": "custom:button-card",
            "entity": "sensor.nachste_abfuhrsorten",
            "wp_style": {
              "width": "250px",
              "grid-row": 2,
              "grid-column": "1 /span 2",
              "margin-left": "-40px",
              "margin-top": "-0px"
            },
            "layout": "icon_name_state2nd",
            "icon": "mdi:trash-can-outline",
            "color_type": "card",
            "color": "yellow",
            "size": "30%",
            "styles": {
              "name": [
                {
                  "font-weight": null
                },
                "font-size:20px",
                {
                  "color": "black"
                },
                {
                  "padding-right": "70px"
                }
              ],
              "label": [
                {
                  "font-weight": null
                },
                {
                  "font-size": "15px"
                },
                {
                  "color": "black"
                },
                {
                  "padding-right": "70px"
                }
              ],
              "icon": [
                {
                  "padding-right": "30px"
                }
              ]
            },
            "show_label": true,
            "label": "[[[ return  entity.state.split(\"|\")[2] ]]]",
            "show_name": true,
            "name": "[[[ return \"Müll \" +    entity.state.split(\"|\")[4]  ]]]",
            "state": [
              {
                "color": "red",
                "operator": "template",
                "value": "[[[ return entity.state.split(\"|\")[1] <= 1 ]]]",
                "styles": {
                  "card": null
                }
              },
              {
                "color": "orange",
                "operator": "template",
                "value": "[[[ return entity.state.split(\"|\")[1] == 2 ]]]"
              },
              {
                "value": "default"
              }
            ]
          },
          {
            "type": "custom:button-card",
            "entity": null,
            "show_label": true,
            "label": "hier klicken",
            "show_name": true,
            "name": "Rasenmäher Zeiten",
            "wp_style": {
              "width": "250px",
              "margin-top": "-0px",
              "margin-left": "-20px",
              "grid-row": 2,
              "grid-column": "3 / span 2"
            },
            "color_type": "card",
            "color": "white",
            "size": "30%",
            "styles": {
              "name": [
                {
                  "font-weight": null
                },
                {
                  "font-size": "20px"
                },
                {
                  "color": "lightgreen"
                },
                {
                  "padding-right": "0px"
                }
              ],
              "label": [
                {
                  "font-weight": null
                },
                {
                  "font-size": "15px"
                },
                {
                  "color": "darkgreen"
                },
                {
                  "padding-right": "0px"
                }
              ],
              "icon": [
                {
                  "padding-right": "30px"
                }
              ]
            },
            "tap_action": {
              "action": "navigate",
              "navigation_path": "/home-2/hilde-startzeiten"
            }
          },
          {
            "type": "custom:button-card",
            "entity": null,
            "show_label": true,
            "label": "hier klicken",
            "show_name": true,
            "name": "Garage",
            "wp_style": {
              "width": "250px",
              "margin-top": "-0px",
              "margin-left": "-0px",
              "grid-row": 2,
              "grid-column": "5 / span 2"
            },
            "color_type": "card",
            "color": "darkgrey",
            "size": "30%",
            "styles": {
              "name": [
                {
                  "font-weight": null
                },
                {
                  "font-size": "20px"
                },
                {
                  "color": "orange"
                },
                {
                  "padding-right": "0px"
                }
              ],
              "label": [
                {
                  "font-weight": null
                },
                {
                  "font-size": "15px"
                },
                {
                  "color": "darkgreen"
                },
                {
                  "padding-right": "0px"
                }
              ],
              "icon": [
                {
                  "padding-right": "30px"
                }
              ]
            },
            "tap_action": {
              "action": "navigate",
              "navigation_path": "/home-2/garage"
            }
          },
          {
            "type": "custom:button-card",
            "entity": null,
            "show_label": true,
            "label": "hier klicken",
            "show_name": true,
            "name": "Bewässerung steuern",
            "wp_style": {
              "width": "250px",
              "margin-top": "0px",
              "margin-left": "-40px",
              "grid-row": 3,
              "grid-column": "1 / span 2"
            },
            "color_type": "card",
            "color": "grey",
            "size": "30%",
            "styles": {
              "name": [
                {
                  "font-weight": null
                },
                {
                  "font-size": "20px"
                },
                {
                  "color": "lightgreen"
                },
                {
                  "padding-right": "0px"
                }
              ],
              "label": [
                {
                  "font-weight": null
                },
                {
                  "font-size": "15px"
                },
                {
                  "color": "darkgreen"
                },
                {
                  "padding-right": "0px"
                }
              ],
              "icon": [
                {
                  "padding-right": "30px"
                }
              ]
            },
            "tap_action": {
              "action": "navigate",
              "navigation_path": "/home-2/bewasserungszeiten"
            }
          },
          {
            "type": "custom:button-card",
            "entity": null,
            "show_label": true,
            "label": "hier klicken",
            "show_name": true,
            "name": "Heizungssteuerung",
            "wp_style": {
              "width": "250px",
              "margin-top": "0px",
              "margin-left": "-20px",
              "grid-row": 3,
              "grid-column": "3 / span 2"
            },
            "color_type": "card",
            "color": "lightgreen",
            "size": "30%",
            "styles": {
              "name": [
                {
                  "font-weight": null
                },
                {
                  "font-size": "20px"
                },
                {
                  "color": "lightblue"
                },
                {
                  "padding-right": "0px"
                }
              ],
              "label": [
                {
                  "font-weight": null
                },
                {
                  "font-size": "15px"
                },
                {
                  "color": "darkblue"
                },
                {
                  "padding-right": "0px"
                }
              ],
              "icon": [
                {
                  "padding-right": "30px"
                }
              ]
            },
            "tap_action": {
              "action": "navigate",
              "navigation_path": "/home-2/heizung"
            }
          },
          {
            "type": "custom:button-card",
            "entity": null,
            "show_label": true,
            "label": "hier klicken",
            "show_name": true,
            "name": "Lampen",
            "wp_style": {
              "width": "250px",
              "margin-top": "0px",
              "margin-left": "-0px",
              "grid-row": 3,
              "grid-column": "5 / span 2"
            },
            "color_type": "card",
            "color": "blue",
            "size": "30%",
            "styles": {
              "name": [
                {
                  "font-weight": null
                },
                {
                  "font-size": "20px"
                },
                {
                  "color": "yellow"
                },
                {
                  "padding-right": "0px"
                }
              ],
              "label": [
                {
                  "font-weight": null
                },
                {
                  "font-size": "15px"
                },
                {
                  "color": "black"
                },
                {
                  "padding-right": "0px"
                }
              ],
              "icon": [
                {
                  "padding-right": "30px"
                }
              ]
            },
            "tap_action": {
              "action": "navigate",
              "navigation_path": "/home-2/lampen"
            }
          },
          {
            "type": "custom:button-card",
            "entity": null,
            "color_type": "card",
            "color": "orange",
            "size": "30%",
            "styles": {
              "name": [
                {
                  "font-weight": null
                },
                {
                  "font-size": "20px"
                },
                {
                  "color": "black"
                },
                {
                  "padding-right": "0px"
                }
              ],
              "label": [
                {
                  "font-weight": null
                },
                {
                  "font-size": "15px"
                },
                {
                  "color": "black"
                },
                {
                  "padding-right": "0px"
                }
              ],
              "icon": [
                {
                  "padding-right": "30px"
                }
              ]
            },
            "tap_action": {
              "action": "navigate",
              "navigation_path": "/home-2/rolllaeden_eg"
            },
            "wp_style": {
              "width": "220px",
              "margin-top": "490px",
              "margin-left": "-30px",
              "grid-row": 4,
              "grid-column": "1 / span 2"
            },
            "show_label": true,
            "label": "hier klicken zum Bedienen",
            "show_name": true,
            "name": "Rollos EG"
          },
          {
            "type": "custom:button-card",
            "entity": null,
            "show_label": true,
            "label": "hier klicken zum Bedienen",
            "show_name": true,
            "name": "Rollos OG",
            "wp_style": {
              "width": "220px",
              "margin-top": "490px",
              "margin-left": "-30px",
              "grid-row": 4,
              "grid-column": "3 / span 2"
            },
            "color_type": "card",
            "color": "orange",
            "size": "30%",
            "styles": {
              "name": [
                {
                  "font-weight": null
                },
                {
                  "font-size": "20px"
                },
                {
                  "color": "black"
                },
                {
                  "padding-right": "0px"
                }
              ],
              "label": [
                {
                  "font-weight": null
                },
                {
                  "font-size": "15px"
                },
                {
                  "color": "black"
                },
                {
                  "padding-right": "0px"
                }
              ],
              "icon": [
                {
                  "padding-right": "30px"
                }
              ]
            },
            "tap_action": {
              "action": "navigate",
              "navigation_path": "/home-2/rollladen-og"
            }
          },
          {
            "type": "gauge",
            "name": "E-Golf Ladung",
            "wp_style": {
              "grid-row": 5,
              "grid-column": 1,
              "margin-left": "-50px",
              "margin-top": "-25px",
              "font_size": "2rem",
              "width": "150px"
            },
            "min": 0,
            "max": 100,
            "entity": "sensor.e_golf_battery_level",
            "needle": true,
            "severity": {
              "green": 80,
              "yellow": 40,
              "red": 0
            }
          },
          {
            "type": "gauge",
            "name": "Tesla Ladung",
            "wp_style": {
              "grid-row": 5,
              "grid-column": 2,
              "margin-left": "-50px",
              "margin-top": "-25px",
              "font_size": "2rem",
              "width": "150px"
            },
            "min": 0,
            "max": 100,
            "entity": "sensor.tesla_k_h_batteriestand",
            "needle": true,
            "severity": {
              "green": 80,
              "yellow": 40,
              "red": 0
            }
          },
          {
            "type": "gauge",
            "wp_style": {
              "grid-row": 5,
              "grid-column": 3,
              "margin-left": "-45px",
              "margin-top": "-25px",
              "font_size": "2rem",
              "width": "150px"
            },
            "min": 0,
            "max": 100,
            "entity": "sensor.e3dc_battery_state_of_charge",
            "needle": true,
            "severity": {
              "green": 80,
              "yellow": 40,
              "red": 0
            },
            "name": "Solar Batterie"
          },
          {
            "type": "custom:button-card",
            "entity": null,
            "color_type": "card",
            "color": "yellow",
            "size": "30%",
            "tap_action": {
              "action": "navigate",
              "navigation_path": "/home-2/ladesteuerung-golf"
            },
            "wp_style": {
              "width": "110px",
              "margin-top": "-25px",
              "margin-left": "-20px",
              "grid-row": 6,
              "grid-column": "1 / span 1"
            },
            "show_label": true,
            "label": "hier klicken",
            "show_name": true,
            "name": "E-Golf Laden"
          },
          {
            "type": "custom:bignumber-card",
            "wp_style": {
              "width": "120px",
              "grid-row": 6,
              "grid-column": 3,
              "margin-left": "-20px",
              "margin-top": "-25px"
            },
            "title": "Verbrauch",
            "entity": "sensor.e3dc_power_consumption_house",
            "scale": "25px",
            "hideunit": true,
            "round": 0,
            "color": "black",
            "bnStyle": "var(--label-badge-blue)",
            "severity": [
              {
                "value": 500,
                "bnStyle": "var(--label-badge-green)",
                "color": "green"
              },
              {
                "value": 1000,
                "bnStyle": "var(--label-badge-yellow)",
                "color": "darkorange"
              },
              {
                "value": 2000,
                "bnStyle": "var(--label-badge-red)",
                "color": "black"
              }
            ],
            "theme": "synthwave",
            "card_mod": {
              "style": "\nha-card {\n     color: black;\n      \n     background: yellow;\n     size: 30px;               \n   }      \n"
            }
          },
          {
            "type": "custom:button-card",
            "entity": null,
            "color_type": "card",
            "color": "yellow",
            "size": "30%",
            "tap_action": {
              "action": "navigate",
              "navigation_path": "/home-2/ladesteuerung-tesla"
            },
            "wp_style": {
              "width": "110px",
              "margin-top": "-25px",
              "margin-left": "-30px",
              "grid-row": 6,
              "grid-column": "2 / span 1"
            },
            "show_label": true,
            "label": "hier klicken",
            "show_name": true,
            "name": "Tesla Laden"
          },
          {
            "type": "custom:bignumber-card",
            "wp_style": {
              "width": "120px",
              "grid-row": 7,
              "grid-column": 3,
              "margin-left": "-20px",
              "margin-top": "-10px"
            },
            "title": "PV-Strom",
            "entity": "sensor.e3dc_solar_power",
            "scale": "25px",
            "hideunit": true,
            "round": 0,
            "color": "black",
            "bnStyle": "var(--label-badge-blue)",
            "severity": [
              {
                "value": 500,
                "bnStyle": "var(--label-badge-green)",
                "color": "red"
              },
              {
                "value": 1000,
                "bnStyle": "var(--label-badge-yellow)",
                "color": "orange"
              },
              {
                "value": 10000,
                "bnStyle": "var(--label-badge-red)",
                "color": "green"
              }
            ],
            "theme": "synthwave",
            "card_mod": {
              "style": "\nha-card {\n     color: black;\n      \n     background: yellow;\n     size: 30px;               \n   }      \n"
            }
          },
          {
            "type": "custom:bignumber-card",
            "wp_style": {
              "width": "120px",
              "grid-row": 6,
              "grid-column": 4,
              "margin-left": "-10px",
              "margin-top": "-25px"
            },
            "title": "ins Netz",
            "entity": "sensor.e3dc_grid_export_power",
            "scale": "25px",
            "hideunit": true,
            "round": 0,
            "color": "black",
            "bnStyle": "var(--label-badge-blue)",
            "severity": [
              {
                "value": 500,
                "bnStyle": "var(--label-badge-green)",
                "color": "red"
              },
              {
                "value": 1000,
                "bnStyle": "var(--label-badge-yellow)",
                "color": "orange"
              },
              {
                "value": 10000,
                "bnStyle": "var(--label-badge-red)",
                "color": "green"
              }
            ],
            "theme": "synthwave",
            "card_mod": {
              "style": "\nha-card {\n     color: black;\n      \n     background: yellow;\n     size: 30px;               \n   }      \n"
            }
          },
          {
            "type": "custom:bignumber-card",
            "wp_style": {
              "width": "120px",
              "grid-row": 7,
              "grid-column": 4,
              "margin-left": "-10px",
              "margin-top": "-10px"
            },
            "title": "vom Netz",
            "entity": "sensor.e3dc_grid_import_power",
            "scale": "25px",
            "hideunit": true,
            "round": 0,
            "color": "black",
            "bnStyle": "var(--label-badge-blue)",
            "severity": [
              {
                "value": 500,
                "bnStyle": "var(--label-badge-green)",
                "color": "red"
              },
              {
                "value": 1000,
                "bnStyle": "var(--label-badge-yellow)",
                "color": "orange"
              },
              {
                "value": 10000,
                "bnStyle": "var(--label-badge-red)",
                "color": "green"
              }
            ],
            "theme": "synthwave",
            "card_mod": {
              "style": "\nha-card {\n     color: black;\n      \n     background: yellow;\n     size: 30px;               \n   }      \n"
            }
          },
          {
            "type": "custom:button-card",
            "entity": null,
            "color_type": "card",
            "color": "red",
            "size": "30%",
            "wp_style": {
              "width": "150px",
              "margin-top": "490px",
              "margin-left": "-40px",
              "grid-row": 4,
              "grid-column": "5 / Span 2"
            },
            "show_label": true,
            "label": "Hier klicken",
            "show_name": true,
            "name": "Haustür Kamera",
            "tap_action": {
              "action": "navigate",
              "navigation_path": "/home-2/haustur"
            },
            "card_mod": {
              "style": "ha-card {\n --card-primary-font-size: 1rem;\n --card-secondary-font-size: 1rem;\nborder: true;\nbox-shadow: true;\nbackground: red;\nmargin-top: 0rem;\n}\n"
            }
          },
          {
            "type": "custom:button-card",
            "entity": null,
            "show_label": true,
            "label": "hier klicken zum Einstellen",
            "show_name": true,
            "name": "Urlaub / Anwesenheiten",
            "wp_style": {
              "width": "200px",
              "margin-top": "-25px",
              "margin-left": "0px",
              "grid-row": 7,
              "grid-column": "1 / span 3"
            },
            "color_type": "card",
            "color": "grey",
            "size": "30%",
            "styles": {
              "name": [
                {
                  "font-weight": null
                },
                {
                  "font-size": "20px"
                },
                {
                  "color": "blue"
                },
                {
                  "padding-right": "0px"
                }
              ],
              "label": [
                {
                  "font-weight": null
                },
                {
                  "font-size": "15px"
                },
                {
                  "color": "blue"
                },
                {
                  "padding-right": "0px"
                }
              ],
              "icon": [
                {
                  "padding-right": "30px"
                }
              ]
            },
            "tap_action": {
              "action": "navigate",
              "navigation_path": "/home-2/urlaub"
            }
          },
          {
            "type": "custom:power-flow-card-plus",
            "wp_style": {
              "width": "310px",
              "margin-top": "-335px",
              "margin-left": "-100px",
              "grid-row": 8,
              "grid-column": 6
            },
            "entities": {
              "battery": {
                "state_of_charge": "sensor.e3dc_battery_state_of_charge",
                "display_state": "one_way",
                "invert_state": true,
                "color_value": true,
                "entity": "sensor.e3dc_battery_power"
              },
              "grid": {
                "name": "Netzstrom",
                "entity": {
                  "consumption": "sensor.e3dc_grid_import_power",
                  "production": "sensor.e3dc_grid_export_power"
                },
                "invert_state": false
              },
              "solar": {
                "entity": "sensor.e3dc_solar_power",
                "display_zero_state": true
              },
              "home": {
                "subtract_individual": true,
                "entity": "sensor.e3dc_power_consumption_house",
                "name": "hausverbrauch",
                "use_metadata": false,
                "override_state": true
              },
              "individual": [
                {
                  "entity": "sensor.tesla_k_h_ladegerat_leistung",
                  "name": "Tesla",
                  "color_icon": true,
                  "display_zero": true,
                  "calculate_flow_rate": true,
                  "color_value": true,
                  "icon": "mdi:car-estate",
                  "secondary_info": {
                    "entity": "sensor.tesla_k_h_batteriestand",
                    "unit_of_measurement": "%",
                    "display_zero": true
                  }
                },
                {
                  "entity": "switch.ladesteckdose_e_auto_2",
                  "name": "Golf",
                  "icon": "mdi:car-electric",
                  "color_icon": true,
                  "color_value": true,
                  "display_zero": true,
                  "secondary_info": {
                    "entity": "sensor.e_golf_battery_level",
                    "unit_of_measurement": "%",
                    "display_zero": true
                  }
                }
              ]
            },
            "clickable_entities": true,
            "display_zero_lines": {
              "mode": "show",
              "transparency": 50,
              "grey_color": [
                189,
                189,
                189
              ]
            },
            "use_new_flow_rate_model": true,
            "w_decimals": 0,
            "kw_decimals": 1,
            "min_flow_rate": 0.75,
            "max_flow_rate": 6,
            "max_expected_power": 2000,
            "min_expected_power": 0.01,
            "watt_threshold": 1000,
            "transparency_zero_lines": 0,
            "title": null
          }
        ],
        "profiles": {
          "Garagentor": {
            "enabled_on_tabs": null,
            "show_image_info": false,
            "display_time": 1,
            "image_url": "media-entity://camera.ds216play_generic_onvif_001",
            "idle_time": 1,
            "cards": [
              {
                "type": "custom:button-text-card",
                "title": "Garagentor!",
                "subtitle": "GEÖFFNET",
                "icon": "mdi:comment-alert",
                "large": true,
                "font_color": "#fff",
                "background_color": "red",
                "wp_style": {
                  "width": "650px",
                  "margin-top": "30px",
                  "margin-left": "60px",
                  "grid-row": 2,
                  "grid-column": "2 / span 4"
                }
              }
            ]
          },
          "night": {
            "enabled": true,
            "idle_time": 30,
            "enabled_on_tabs": null,
            "image_url": "/",
            "info_animation_duration_x": 0,
            "info_animation_duration_y": 0,
            "style": {
              "wallpanel-screensaver-overlay": {
                "background": "#000000bb"
              }
            }
          },
          "black": {
            "black_screen_after_time": 1
          },
          "Alarm": {
            "cards": [
              {
                "type": "custom:button-card",
                "entity": null,
                "color_type": "card",
                "color": "red",
                "size": "30%",
                "wp_style": {
                  "width": "250px",
                  "margin-top": "00px",
                  "margin-left": "-40px",
                  "grid-row": 1,
                  "grid-column": "2 / Span 4"
                },
                "show_label": true,
                "label": "Hier klicken",
                "show_name": true,
                "name": "Rauchmelder-Alarme",
                "tap_action": {
                  "action": "navigate",
                  "navigation_path": "/home-2/alarmmeldungen"
                },
                "card_mod": null,
                "style": "ha-card {\n  --card-primary-font-size: 1rem;\n  --card-secondary-font-size: 1rem;\n border: true;\n box-shadow: true;\n background: red;\n margin-top: 0rem;\n }\n"
              },
              {
                "type": "custom:button-card",
                "entity": "sensor.hmip_swsd_000a570998b238_rauchmelder_alarmstatus",
                "tap_action": {
                  "action": "navigate",
                  "navigation_path": "/home-2/alarmmeldungen"
                },
                "wp_style": {
                  "width": "150px",
                  "margin-top": "30px",
                  "margin-left": "60px",
                  "grid-row": 2,
                  "grid-column": 1
                },
                "name": "Dach",
                "show_state": true,
                "show_icon": true,
                "theme": "synthwave",
                "card_mod": {
                  "style": "\nha-card {\n  color: black;\n  font-size: 30px; \n  {% if states (config.entity) == 'idle_off' %} background: green \n\n  {% else %} background: red\n  {% endif %};\n  size: 30px;             \n      }      \n"
                }
              },
              {
                "type": "custom:button-card",
                "entity": "sensor.hmip_swsd_000a570998b3d8_rauchmelder_alarmstatus",
                "tap_action": {
                  "action": "navigate",
                  "navigation_path": "/home-2/alarmmeldungen"
                },
                "wp_style": {
                  "width": "150px",
                  "margin-top": "30px",
                  "margin-left": "60px",
                  "grid-row": 2,
                  "grid-column": 2
                },
                "name": "Schlafzimmer",
                "show_state": true,
                "show_icon": true,
                "theme": "synthwave",
                "card_mod": {
                  "style": "\nha-card {\n  color: black;\n  font-size: 30px; \n  {% if states (config.entity) == 'idle_off' %} background: green \n\n  {% else %} background: red\n  {% endif %};\n  size: 30px;             \n      }      \n"
                }
              },
              {
                "type": "custom:button-card",
                "entity": "sensor.hmip_swsd_000a570998b09b_rauchmelder_alarmstatus",
                "tap_action": {
                  "action": "navigate",
                  "navigation_path": "/home-2/alarmmeldungen"
                },
                "wp_style": {
                  "width": "150px",
                  "margin-top": "30px",
                  "margin-left": "60px",
                  "grid-row": 2,
                  "grid-column": 3
                },
                "name": "Kellerausgang",
                "show_state": true,
                "show_icon": true,
                "theme": "synthwave",
                "card_mod": {
                  "style": "\nha-card {\n  color: black;\n  font-size: 30px; \n  {% if states (config.entity) == 'idle_off' %} background: green \n\n  {% else %} background: red\n  {% endif %};\n  size: 30px;             \n      }      \n"
                }
              },
              {
                "type": "custom:button-card",
                "entity": "sensor.hmip_swsd_000a570998b3dc_rauchmelder_alarmstatus",
                "tap_action": {
                  "action": "navigate",
                  "navigation_path": "/home-2/alarmmeldungen"
                },
                "wp_style": {
                  "width": "150px",
                  "margin-top": "30px",
                  "margin-left": "60px",
                  "grid-row": 2,
                  "grid-column": 4
                },
                "name": "Gartenkeller",
                "show_state": true,
                "show_icon": true,
                "theme": "synthwave",
                "card_mod": {
                  "style": "\nha-card {\n  color: black;\n  font-size: 30px; \n  {% if states (config.entity) == 'idle_off' %} background: green \n\n  {% else %} background: red\n  {% endif %};\n  size: 30px;             \n      }      \n"
                }
              },
              {
                "type": "custom:button-card",
                "entity": "sensor.hmip_swsd_000a570998b3fb_rauchmelder_alarmstatus",
                "tap_action": {
                  "action": "navigate",
                  "navigation_path": "/home-2/alarmmeldungen"
                },
                "wp_style": {
                  "width": "150px",
                  "margin-top": "30px",
                  "margin-left": "60px",
                  "grid-row": 2,
                  "grid-column": 5
                },
                "name": "Kellerflur",
                "show_state": true,
                "show_icon": true,
                "theme": "synthwave",
                "card_mod": {
                  "style": "\nha-card {\n  color: black;\n  font-size: 30px; \n  {% if states (config.entity) == 'idle_off' %} background: green \n\n  {% else %} background: red\n  {% endif %};\n  size: 30px;             \n      }                          \n"
                }
              },
              {
                "type": "custom:button-card",
                "entity": "sensor.hmip_swsd_000a570998b41f_rauchmelder_alarmstatus",
                "tap_action": {
                  "action": "navigate",
                  "navigation_path": "/home-2/alarmmeldungen"
                },
                "wp_style": {
                  "width": "150px",
                  "margin-top": "30px",
                  "margin-left": "60px",
                  "grid-row": 3,
                  "grid-column": 1
                },
                "name": "Garage",
                "show_state": true,
                "show_icon": true,
                "theme": "synthwave",
                "card_mod": {
                  "style": "\nha-card {\n  color: black;\n  font-size: 30px; \n  {% if states (config.entity) == 'idle_off' %} background: green \n\n  {% else %} background: red\n  {% endif %};\n  size: 30px;             \n      }      \n"
                }
              },
              {
                "type": "custom:button-card",
                "entity": "sensor.hmip_swsd_000a570998b421_rauchmelder_alarmstatus",
                "tap_action": {
                  "action": "navigate",
                  "navigation_path": "/home-2/alarmmeldungen"
                },
                "wp_style": {
                  "width": "150px",
                  "margin-top": "30px",
                  "margin-left": "60px",
                  "grid-row": 3,
                  "grid-column": 2
                },
                "name": "Kinderzimmer",
                "show_state": true,
                "show_icon": true,
                "theme": "synthwave",
                "card_mod": {
                  "style": "\nha-card {\n  color: black;\n  font-size: 30px; \n  {% if states (config.entity) == 'idle_off' %} background: green \n\n  {% else %} background: red\n  {% endif %};\n  size: 30px;             \n      }  \n"
                }
              },
              {
                "type": "custom:button-card",
                "entity": "sensor.hmip_swsd_000a58a989fcf7_rauchmelder_alarmstatus",
                "tap_action": {
                  "action": "navigate",
                  "navigation_path": "/home-2/alarmmeldungen"
                },
                "wp_style": {
                  "width": "150px",
                  "margin-top": "30px",
                  "margin-left": "60px",
                  "grid-row": 3,
                  "grid-column": 3
                },
                "name": "Flur unten",
                "show_state": true,
                "show_icon": true,
                "theme": "synthwave",
                "card_mod": {
                  "style": "\nha-card {\n  color: black;\n  font-size: 30px; \n  {% if states (config.entity) == 'idle_off' %} background: green \n\n  {% else %} background: red\n  {% endif %};\n  size: 30px;             \n      }  \n"
                }
              },
              {
                "type": "custom:button-card",
                "entity": "sensor.hmip_swsd_000a58a98a69ef_rauchmelder_alarmstatus",
                "tap_action": {
                  "action": "navigate",
                  "navigation_path": "/home-2/alarmmeldungen"
                },
                "wp_style": {
                  "width": "150px",
                  "margin-top": "30px",
                  "margin-left": "60px",
                  "grid-row": 3,
                  "grid-column": 4
                },
                "name": "Flur oben",
                "show_state": true,
                "show_icon": true,
                "theme": "synthwave",
                "card_mod": {
                  "style": "\nha-card {\n  color: black;\n  font-size: 30px; \n  {% if states (config.entity) == 'idle_off' %} background: green \n\n  {% else %} background: red\n  {% endif %};\n  size: 30px;             \n      }  \n"
                }
              },
              {
                "type": "custom:button-card",
                "entity": "sensor.hmip_swsd_000a58a9aa40f9_rauchmelder_alarmstatus",
                "tap_action": {
                  "action": "navigate",
                  "navigation_path": "/home-2/alarmmeldungen"
                },
                "wp_style": {
                  "width": "150px",
                  "margin-top": "30px",
                  "margin-left": "60px",
                  "grid-row": 3,
                  "grid-column": 5
                },
                "name": "Werkzeugkeller/PV-Anlage",
                "show_state": true,
                "show_icon": true,
                "theme": "synthwave",
                "card_mod": {
                  "style": "\nha-card {\n  color: black;\n  font-size: 30px; \n  {% if states (config.entity) == 'idle_off' %} background: green \n\n  {% else %} background: red\n  {% endif %};\n  size: 30px;             \n      }                      \n"
                }
              },
              {
                "type": "custom:button-card",
                "entity": null,
                "color_type": "card",
                "color": "red",
                "size": "30%",
                "wp_style": {
                  "width": "250px",
                  "margin-top": "50px",
                  "margin-left": "-40px",
                  "grid-row": 5,
                  "grid-column": "2 / Span 4"
                },
                "show_label": true,
                "label": "Hier klicken",
                "show_name": true,
                "name": "Wassermelder-Alarme",
                "tap_action": {
                  "action": "navigate",
                  "navigation_path": "/home-2/alarmmeldungen"
                },
                "card_mod": null,
                "style": "ha-card {\n  --card-primary-font-size: 1rem;\n  --card-secondary-font-size: 1rem;\n border: true;\n box-shadow: true;\n background: red;\n margin-top: 0rem;\n }\n"
              },
              {
                "type": "custom:button-card",
                "entity": "sensor.hauswirtschaft_wassermelder",
                "tap_action": {
                  "action": "navigate",
                  "navigation_path": "/home-2/alarmmeldungen"
                },
                "wp_style": {
                  "width": "150px",
                  "margin-top": "30px",
                  "margin-left": "60px",
                  "grid-row": 6,
                  "grid-column": 1
                },
                "name": "Hauswirtschaft",
                "show_state": true,
                "show_icon": true,
                "theme": "synthwave",
                "card_mod": {
                  "style": "\nha-card {\n  color: black;\n  font-size: 30px; \n  {% if states (config.entity) == 'dry' %} background: green \n\n  {% else %} background: red\n  {% endif %};\n  size: 30px;             \n      }               \n"
                }
              },
              {
                "type": "custom:button-card",
                "entity": "binary_sensor.keller_wassermelder_ausgang_alarmzustand",
                "tap_action": {
                  "action": "navigate",
                  "navigation_path": "/home-2/alarmmeldungen"
                },
                "wp_style": {
                  "width": "150px",
                  "margin-top": "30px",
                  "margin-left": "60px",
                  "grid-row": 6,
                  "grid-column": 2
                },
                "name": "Keller Ausgang",
                "show_state": true,
                "show_icon": true,
                "theme": "synthwave",
                "card_mod": {
                  "style": "\nha-card {\n  color: black;\n  font-size: 30px; \n  {% if states (config.entity) == 'off' %} background: green \n\n  {% else %} background: red\n  {% endif %};\n  size: 30px;             \n      }               \n"
                }
              },
              {
                "type": "custom:button-card",
                "entity": "binary_sensor.keller_wassermelder_sauna_alarmzustand",
                "tap_action": {
                  "action": "navigate",
                  "navigation_path": "/home-2/alarmmeldungen"
                },
                "wp_style": {
                  "width": "150px",
                  "margin-top": "30px",
                  "margin-left": "60px",
                  "grid-row": 6,
                  "grid-column": 3
                },
                "name": "SaunaKeller",
                "show_state": true,
                "show_icon": true,
                "theme": "synthwave",
                "card_mod": {
                  "style": "\nha-card {\n  color: black;\n  font-size: 30px; \n  {% if states (config.entity) == 'off' %} background: green \n\n  {% else %} background: red\n  {% endif %};\n  size: 30px;             \n      }                           \n"
                }
              },
              {
                "type": "custom:button-card",
                "entity": "binary_sensor.hmip_swd_001898a9a36894_alarmzustand",
                "tap_action": {
                  "action": "navigate",
                  "navigation_path": "/home-2/alarmmeldungen"
                },
                "wp_style": {
                  "width": "150px",
                  "margin-top": "30px",
                  "margin-left": "60px",
                  "grid-row": 6,
                  "grid-column": 4
                },
                "name": "Lena Bad",
                "show_state": true,
                "show_icon": true,
                "theme": "synthwave",
                "card_mod": {
                  "style": "\nha-card {\n  color: black;\n  font-size: 30px; \n  {% if states (config.entity) == 'off' %} background: green \n\n  {% else %} background: red\n  {% endif %};\n  size: 30px;             \n      }                                   \n"
                }
              },
              {
                "type": "custom:button-card",
                "entity": "binary_sensor.hmip_swd_00189a498ddf59_alarmzustand",
                "tap_action": {
                  "action": "navigate",
                  "navigation_path": "/home-2/alarmmeldungen"
                },
                "wp_style": {
                  "width": "150px",
                  "margin-top": "30px",
                  "margin-left": "60px",
                  "grid-row": 6,
                  "grid-column": 5
                },
                "name": "Garage",
                "show_state": true,
                "show_icon": true,
                "theme": "synthwave",
                "card_mod": {
                  "style": "\nha-card {\n  color: black;\n  font-size: 30px; \n  {% if states (config.entity) == 'off' %} background: green \n\n  {% else %} background: red\n  {% endif %};\n  size: 30px;             \n      }               \n\n\n      \n"
                }
              }
            ],
            "enabled_on_tabs": [
              "default_view"
            ],
            "show_images": false,
            "screensaver_stop_navigation_path": "/home-2/alarmmeldungen",
            "idle_time": 300
          },
          "Klingel": {
            "idle_time": 30,
            "display_time": 2,
            "screensaver_stop_navigation_path": "/home-2/haustur"
          },
          "Klingel2": {
            "enabled_on_tabs": null,
            "show_image_info": false,
            "display_time": 1,
            "image_url": "media-entity://camera.ds216play_generic_onvif_001",
            "idle_time": 30,
            "screensaver_stop_navigation_path": "/home-2/haustur"
          }
        },
        "profile_entity": "input_select.wallpanel_profile"
`` `

@kwithus
Copy link
Contributor Author

kwithus commented Sep 2, 2024

Do you have any idea yet for the reason of this unexpected behaviour?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants