{
  "version": 1,
  "minor_version": 1,
  "key": "lovelace.woonkamer_kiosk",
  "data": {
    "config": {
      "kiosk_mode": {
        "user_settings": [
          {
            "users": [
              "dusun",
              "tuya"
            ],
            "hide_header": true,
            "ignore_entity_settings": true,
            "ignore_mobile_settings": true
          }
        ]
      },
      "views": [
        {
          "title": "Home",
          "sections": [
            {
              "type": "grid",
              "cards": [
                {
                  "type": "custom:better-moment-card",
                  "parentStyle": "line-height:normal;\n",
                  "moment": [
                    {
                      "parentStyle": "font-size:8em;  text-align:center; font-weight:800;\n",
                      "templateRaw": "{{moment format=HH:mm}}\n"
                    },
                    {
                      "parentStyle": "font-size:2em; text-align:center; margin-top:5px;\n",
                      "templateRaw": "{{moment format=cccc dd LLLL locale=nl}}\n"
                    }
                  ]
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "icon": "mdi:home-floor-0",
                  "tap_action": {
                    "action": "navigate",
                    "navigation_path": "/woonkamer-kiosk/beneden"
                  },
                  "grid_options": {
                    "columns": 6,
                    "rows": 2
                  },
                  "entity": "light.ikea_of_sweden_stoftmoln_ceiling_wall_lamp_ww37",
                  "name": "Beneden"
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "icon": "mdi:stairs-up",
                  "tap_action": {
                    "action": "navigate",
                    "navigation_path": "/woonkamer-kiosk/other-places"
                  },
                  "grid_options": {
                    "columns": 6,
                    "rows": 2
                  },
                  "name": "Boven",
                  "entity": "light.overloop_switch_0",
                  "show_state": false,
                  "color": "primary"
                }
              ]
            },
            {
              "type": "grid",
              "cards": [
                {
                  "type": "custom:mushroom-template-card",
                  "entity": "climate.verwarming_woonkamer_blu",
                  "primary": "{% set t = state_attr('climate.verwarming_woonkamer_blu', 'temperature') | float %} {% if t <= 15 %}\n  Eco\n{% elif t <= 18 %}\n  Normaal\n{% else %}\n  Comfy\n{% endif %}\n",
                  "secondary": "{{ state_attr('climate.verwarming_woonkamer_blu', 'temperature') }} °C\n",
                  "icon": "{% set t = state_attr('climate.verwarming_woonkamer_blu', 'temperature') | float %} {% if t <= 15 %}\n  mdi:leaf\n{% elif t <= 18 %}\n  mdi:home-thermometer\n{% else %}\n  mdi:fire\n{% endif %}\n",
                  "tap_action": {
                    "action": "call-service",
                    "service": "script.thermostaat_woonkamer_toggle"
                  },
                  "color": "{% set t = state_attr('climate.verwarming_woonkamer_blu', 'temperature') | float %} {% if t <= 15 %}\n  green\n{% elif t <= 18 %}\n  blue\n{% else %}\n  red\n{% endif %}\n",
                  "features_position": "bottom",
                  "grid_options": {
                    "columns": 3,
                    "rows": 2
                  },
                  "area": "woonkamer",
                  "vertical": true
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "entity": "scene.woonkamer_binnenkomst",
                  "icon": "mdi:weather-sunset-up",
                  "grid_options": {
                    "columns": 3,
                    "rows": 2
                  },
                  "tap_action": {
                    "action": "perform-action",
                    "perform_action": "scene.turn_on",
                    "target": {
                      "entity_id": "scene.sfeer"
                    },
                    "data": {}
                  },
                  "name": "Overdag",
                  "double_tap_action": {
                    "action": "perform-action",
                    "perform_action": "light.turn_on",
                    "target": {
                      "entity_id": "light.lamp_tafel"
                    },
                    "data": {
                      "brightness_pct": 100
                    }
                  }
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "entity": "scene.sfeer",
                  "name": "Sfeer",
                  "icon": "mdi:floor-lamp-outline",
                  "grid_options": {
                    "columns": 3,
                    "rows": 2
                  },
                  "tap_action": {
                    "action": "perform-action",
                    "perform_action": "scene.turn_on",
                    "target": {
                      "entity_id": "scene.sfeer"
                    },
                    "data": {}
                  }
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "entity": "script.vertrekken",
                  "tap_action": {
                    "action": "perform-action",
                    "perform_action": "script.new_script",
                    "target": {}
                  },
                  "grid_options": {
                    "columns": 3,
                    "rows": 2
                  },
                  "icon": "mdi:door-closed-lock",
                  "name": "Away"
                },
                {
                  "type": "custom:mushroom-media-player-card",
                  "entity": "media_player.unnamed_room",
                  "volume_controls": [],
                  "media_controls": [
                    "next",
                    "play_pause_stop",
                    "previous"
                  ],
                  "grid_options": {
                    "columns": 12,
                    "rows": 2
                  },
                  "show_volume_level": false,
                  "use_media_info": false,
                  "tap_action": {
                    "action": "none"
                  },
                  "hold_action": {
                    "action": "none"
                  },
                  "double_tap_action": {
                    "action": "none"
                  },
                  "fill_container": true,
                  "secondary_info": "none",
                  "primary_info": "name",
                  "icon": ""
                },
                {
                  "type": "custom:mushroom-media-player-card",
                  "entity": "media_player.unnamed_room",
                  "volume_controls": [
                    "volume_buttons",
                    "volume_mute",
                    "volume_set"
                  ],
                  "media_controls": [],
                  "grid_options": {
                    "columns": 12,
                    "rows": 1
                  },
                  "show_volume_level": true,
                  "use_media_info": false,
                  "tap_action": {
                    "action": "none"
                  },
                  "hold_action": {
                    "action": "none"
                  },
                  "double_tap_action": {
                    "action": "none"
                  },
                  "fill_container": true,
                  "secondary_info": "none",
                  "primary_info": "none",
                  "icon_type": "none"
                }
              ],
              "column_span": 1
            },
            {
              "type": "grid",
              "cards": [
                {
                  "type": "custom:mushroom-template-card",
                  "icon": "{{ 'mdi:door-open' if is_state('binary_sensor.contact_balkondeur_openen', 'on') else 'mdi:door-closed' }}",
                  "entity": "binary_sensor.contact_voordeur_openen",
                  "secondary": "{{ 'Open' if is_state('binary_sensor.contact_balkondeur_openen', 'on') else 'Dicht' }}",
                  "grid_options": {
                    "columns": 6,
                    "rows": 1
                  },
                  "icon_color": "{{ 'red' if is_state('binary_sensor.contact_balkondeur_openen', 'on') else 'green' }}",
                  "tap_action": {
                    "action": "none"
                  },
                  "hold_action": {
                    "action": "none"
                  },
                  "primary": "Balkon"
                },
                {
                  "type": "custom:mushroom-template-card",
                  "icon": "{% if is_state('binary_sensor.contact_voordeur_openen', 'on') %}\n  mdi:door-open\n{% elif is_state('lock.voordeur', 'locked') %}\n  mdi:door-closed-lock\n{% else %}\n  mdi:door-closed\n{% endif %}",
                  "entity": "binary_sensor.contact_voordeur_openen",
                  "secondary": "{% if is_state('binary_sensor.contact_voordeur_openen', 'on') %}\n  Staat open\n{% elif is_state('lock.voordeur', 'locked') %}\n  Is dicht en op slot\n{% else %}\n  Is dicht (niet op slot)\n{% endif %}",
                  "grid_options": {
                    "columns": 6,
                    "rows": 1
                  },
                  "tap_action": {
                    "action": "none"
                  },
                  "hold_action": {
                    "action": "none"
                  },
                  "primary": "Voordeur",
                  "double_tap_action": {
                    "action": "perform-action",
                    "perform_action": "lock.unlock",
                    "target": {
                      "entity_id": "lock.voordeur"
                    },
                    "data": {}
                  },
                  "color": "{% if is_state('binary_sensor.contact_voordeur_openen', 'on') %}\n  red\n{% elif is_state('lock.voordeur', 'locked') %}\n  green\n{% else %}\n  orange\n{% endif %}",
                  "features_position": "bottom"
                },
                {
                  "type": "custom:mushroom-template-card",
                  "primary": "  {% set status = states('sensor.skoda_enyaq_laadstatus') %} {% if\n  states('sensor.skoda_enyaq_laadstatus') == 'connect_cable' %}\n    Skoda\n  {% elif states('sensor.skoda_enyaq_laadstatus') == 'charging' %}\n    Skoda: Opladen\n  {% elif states('sensor.skoda_enyaq_laadstatus') == 'ready' %}\n    Skoda: opladen klaar\n  {% endif %}\nAccu {{ states('sensor.skoda_enyaq_accupercentage')}}%",
                  "icon": "  {% if states('sensor.skoda_enyaq_laadstatus') == 'charging' %}\n    mdi:ev-station\n  {% else %}\n    mdi:car-electric\n  {% endif %}",
                  "badge_icon": "  {% set status = states('sensor.skoda_enyaq_laadstatus') %} {% if\n  states('sensor.skoda_enyaq_laadstatus') == 'connect_cable' %}\n    mdi:ev-plug-ccs2\n  {% elif states('sensor.skoda_enyaq_laadstatus') == 'charging' %}\n    mdi:battery-charging\n  {% elif states('sensor.skoda_enyaq_laadstatus') == 'ready' %}\n    mdi:battery\n  {% endif %}",
                  "grid_options": {
                    "columns": 12,
                    "rows": 1
                  },
                  "multiline_secondary": false,
                  "color": "  {% set level = states('sensor.skoda_enyaq_accupercentage') | int(0) %} {% if\n  states('sensor.skoda_enyaq_laadstatus') == 'charging' %}\n    blue\n  {% elif level > 50 %}\n    green\n  {% elif level > 20 %}\n    orange\n  {% else %}\n    red\n  {% endif %}",
                  "features_position": "bottom"
                },
                {
                  "type": "conditional",
                  "conditions": [
                    {
                      "entity": "sensor.wasmachine_taakstatus",
                      "state_not": "none"
                    }
                  ],
                  "card": {
                    "type": "custom:mushroom-template-card",
                    "entity": "select.wasmachine",
                    "primary": "{% if is_state('sensor.wasmachine_machinestatus','stop') %}\n  Was klaar\n{% elif is_state('sensor.wasmachine_machinestatus','pause') %}\n  Was gepauzeerd\n{% else %}\n  Wasmachine bezig\n{% endif %}\n",
                    "secondary": "{% if is_state('sensor.wasmachine_machinestatus','stop') %}\n  Klaar\n{% elif is_state('sensor.wasmachine_machinestatus','pause') %}\n  Pauze\n{% else %}\n  Klaar om {{ as_timestamp(states('sensor.wasmachine_completion_time'))\n    | timestamp_custom('%H:%M') }}\n{% endif %}\n",
                    "icon": "mdi:washing-machine",
                    "tap_action": {
                      "action": "more-info"
                    },
                    "color": "orange",
                    "features_position": "bottom",
                    "vertical": true
                  },
                  "grid_options": {
                    "rows": 2,
                    "columns": 3
                  }
                },
                {
                  "type": "conditional",
                  "conditions": [
                    {
                      "entity": "sensor.385040390125001454_001_bsh_common_setting_powerstate",
                      "state_not": "BSH.Common.EnumType.PowerState.Standby"
                    }
                  ],
                  "card": {
                    "type": "custom:mushroom-template-card",
                    "entity": "sensor.385040390125001454_001_bsh_common_setting_powerstate",
                    "primary": "{% if is_state(\n  'sensor.385040390125001454_001_bsh_common_status_operationstate',\n  'BSH.Common.EnumType.OperationState.Finnished') %}\n  Oven klaar\n{% elif is_state(\n  'sensor.385040390125001454_001_bsh_common_status_operationstate',\n  'BSH.Common.EnumType.OperationState.Pause') %}\n  Oven gepauzeerd\n{% elif is_state(\n  'sensor.385040390125001454_001_bsh_common_status_operationstate',\n  'BSH.Common.EnumType.OperationState.Ready') %}\n  Oven aan\n{% else %}\n  Oven bezig\n{% endif %}\n",
                    "secondary": "{% if is_state(\n  'sensor.385040390125001454_001_bsh_common_status_operationstate',\n  'BSH.Common.EnumType.OperationState.Finnished') %}\n  Klaar\n{% elif is_state(\n  'sensor.385040390125001454_001_bsh_common_status_operationstate',\n  'BSH.Common.EnumType.OperationState.Pause') %}\n  Pauze\n{% else %}\n  {% set f = states(\n    'sensor.385040390125001454_001_bsh_common_option_remainingprogramtime') %}\n  {% if f in ['unknown', 'unavailable', None] %}\n    Bezig\n  {% else %}\n    Resterend {{ (as_datetime(f) - now()).total_seconds()\n      | timestamp_custom('%H:%M:%S', false) }}\n  {% endif %}\n{% endif %}\n",
                    "icon": "mdi:toaster-oven",
                    "tap_action": {
                      "action": "more-info"
                    },
                    "color": "{% if is_state(\n  'sensor.385040390125001454_001_bsh_common_status_operationstate',\n  'BSH.Common.EnumType.OperationState.Finnished') %}\n  green\n{% elif is_state(\n  'sensor.385040390125001454_001_bsh_common_status_operationstate',\n  'BSH.Common.EnumType.OperationState.Pause') %}\n  blue\n{% else %}\n  orange\n{% endif %}\n",
                    "vertical": true
                  },
                  "grid_options": {
                    "columns": 3,
                    "rows": 2
                  }
                },
                {
                  "type": "conditional",
                  "conditions": [
                    {
                      "entity": "sensor.404060394415001720_bsh_common_setting_powerstate",
                      "state_not": "BSH.Common.EnumType.PowerState.Off"
                    }
                  ],
                  "card": {
                    "type": "custom:mushroom-template-card",
                    "entity": "sensor.404060394415001720_bsh_common_setting_powerstate",
                    "primary": "{% if is_state(\n  'sensor.404060394415001720_bsh_common_status_operationstate',\n  'BSH.Common.EnumType.OperationState.Finnished') %}\n  Vaatw. klaar\n{% elif is_state(\n  'sensor.404060394415001720_bsh_common_status_operationstate',\n  'BSH.Common.EnumType.OperationState.Pause') %}\n  Vaatw. gepauzeerd\n{% elif is_state(\n  'sensor.404060394415001720_bsh_common_status_operationstate',\n  'BSH.Common.EnumType.OperationState.Ready') %}\n  Vaatw. aan\n{% else %}\n  Vaatw. bezig\n{% endif %}\n",
                    "secondary": "{% if is_state(\n  'sensor.404060394415001720_bsh_common_status_operationstate',\n  'BSH.Common.EnumType.OperationState.Finnished') %}\n  Klaar\n{% elif is_state(\n  'sensor.404060394415001720_bsh_common_status_operationstate',\n  'BSH.Common.EnumType.OperationState.Pause') %}\n  Pauze\n{% else %}\n  {% set f = states(\n    'sensor.404060394415001720_bsh_common_option_remainingprogramtime') %}\n  {% if f in ['unknown', 'unavailable', None] %}\n    Bezig\n  {% else %}\n    {{ (as_datetime(f) - now()).total_seconds()\n      | timestamp_custom('%H:%M', false) }}\n  {% endif %}\n{% endif %}\n",
                    "icon": "mdi:dishwasher",
                    "icon_color": "{% if is_state(\n  'sensor.404060394415001720_bsh_common_status_operationstate',\n  'BSH.Common.EnumType.OperationState.Finnished') %}\n  green\n{% elif is_state(\n  'sensor.404060394415001720_bsh_common_status_operationstate',\n  'BSH.Common.EnumType.OperationState.Pause') %}\n  blue\n{% else %}\n  orange\n{% endif %}\n",
                    "tap_action": {
                      "action": "more-info"
                    },
                    "vertical": true
                  },
                  "grid_options": {
                    "columns": 3,
                    "rows": 2
                  }
                },
                {
                  "type": "conditional",
                  "conditions": [
                    {
                      "entity": "binary_sensor.droger_vermogen",
                      "state": "on"
                    }
                  ],
                  "card": {
                    "type": "custom:mushroom-template-card",
                    "entity": "select.droger",
                    "primary": "{% if is_state('sensor.droger_machinestatus','stop') %}\n  Droger klaar\n{% elif is_state('sensor.droger_machinestatus','pause') %}\n  Droger gepauzeerd\n{% else %}\n  Droger bezig\n{% endif %}\n",
                    "secondary": "{% if is_state('sensor.droger_machinestatus','stop') %}\n  Klaar\n{% elif is_state('sensor.droger_machinestatus','pause') %}\n  Pauze\n{% else %}\n  Klaar om {{ as_timestamp(states('sensor.droger_completion_time'))\n    | timestamp_custom('%H:%M') }}\n{% endif %}\n",
                    "icon": "mdi:tumble-dryer",
                    "icon_color": "{% if is_state('sensor.droger_machinestatus','stop') %}\n  green\n{% elif is_state('sensor.droger_machinestatus','pause') %}\n  blue\n{% else %}\n  orange\n{% endif %}\n",
                    "tap_action": {
                      "action": "more-info"
                    },
                    "vertical": true
                  },
                  "grid_options": {
                    "columns": 3,
                    "rows": 2
                  }
                }
              ]
            },
            {
              "type": "grid",
              "cards": [
                {
                  "type": "vertical-stack",
                  "cards": [
                    {
                      "type": "custom:mini-graph-card",
                      "entities": [
                        "sensor.ws_esp32_s3_eth_power_consumed"
                      ],
                      "name": "Vandaag totaal",
                      "hours_to_show": 24,
                      "points_per_hour": 1,
                      "show": {
                        "icon": true,
                        "name": true,
                        "state": true,
                        "labels": true
                      },
                      "line_width": 4,
                      "line_color": "#00BCD4",
                      "color_thresholds": [
                        {
                          "value": 1.5,
                          "color": "orange"
                        },
                        {
                          "value": 3.5,
                          "color": "red"
                        }
                      ]
                    },
                    {
                      "type": "horizontal-stack",
                      "cards": [
                        {
                          "type": "custom:mushroom-template-card",
                          "icon": "mdi:silverware-fork-knife",
                          "vertical": true,
                          "color": "orange",
                          "features_position": "bottom",
                          "primary": "{{ states('sensor.power_keuken') | float | round(0) }} W\n",
                          "secondary": "{{ states('sensor.energy_keuken') | float | round(2) }} kWh"
                        },
                        {
                          "type": "custom:mushroom-template-card",
                          "primary": "{{ states('sensor.power_woonkamer') | float | round(0) }} W",
                          "secondary": "{{ states('sensor.energy_woonkamer') | float | round(2) }} kWh\n",
                          "icon": "mdi:sofa",
                          "vertical": true,
                          "color": "orange",
                          "features_position": "bottom"
                        },
                        {
                          "type": "custom:mushroom-template-card",
                          "primary": "{{ states('sensor.power_slaapkamer') | float | round(0) }} W",
                          "secondary": "{{ states('sensor.energy_slaapkamer') | float | round(2) }} kWh",
                          "icon": "mdi:bed",
                          "vertical": true,
                          "color": "orange",
                          "features_position": "bottom"
                        },
                        {
                          "type": "custom:mushroom-template-card",
                          "primary": "{{ states('sensor.power_meterkast') | float | round(0) }} W",
                          "secondary": "{{ states('sensor.energy_meterkast') | float | round(2) }} kWh",
                          "icon": "mdi:server",
                          "vertical": true,
                          "color": "orange",
                          "features_position": "bottom"
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ],
          "type": "sections",
          "max_columns": 2,
          "cards": [],
          "badges": [
            {
              "type": "entity",
              "show_name": false,
              "show_state": true,
              "show_icon": true,
              "entity": "sensor.temperatuur_woonkamer_temperatuur"
            },
            {
              "type": "entity",
              "show_name": false,
              "show_state": true,
              "show_icon": true,
              "entity": "sensor.temperatuur_woonkamer_luchtvochtigheid"
            },
            {
              "type": "custom:mushroom-template-badge",
              "content": "{% if is_state(\"sensor.wasmachine_taakstatus\", \"none\") -%}\n  Uit\n{%- else -%}\n  {% if is_state('sensor.wasmachine_machinestatus','stop') -%}\n    Klaar\n  {%- else -%}\n    {% if is_state('sensor.wasmachine_machinestatus','pause') -%}\n      Pause\n    {%- else -%}\n{{as_timestamp(states('sensor.wasmachine_completion_time')) | timestamp_custom ('%H:%M') }}\n    {%- endif %}\n  {%- endif %}\n{%- endif %}",
              "icon": "mdi:washing-machine",
              "color": "Orange",
              "entity": "select.wasmachine",
              "visibility": [
                {
                  "condition": "state",
                  "entity": "sensor.wasmachine_taakstatus",
                  "state_not": "none"
                }
              ],
              "tap_action": {
                "action": "more-info"
              }
            },
            {
              "type": "custom:mushroom-template-badge",
              "content": "{% if is_state(\"sensor.385040390125001454_001_bsh_common_setting_powerstate\", \"BSH.Common.EnumType.PowerState.Standby\") -%}\n  Uit\n{%- else -%}\n  {% if is_state('sensor.385040390125001454_001_bsh_common_status_operationstate',\"BSH.Common.EnumType.OperationState.Finnished\") -%}\n    Klaar\n  {% elif is_state('sensor.385040390125001454_001_bsh_common_status_operationstate',\"BSH.Common.EnumType.OperationState.Ready\") -%}\n    Aan\n  {%- else -%}\n    {% if is_state('sensor.385040390125001454_001_bsh_common_status_operationstate',\"BSH.Common.EnumType.OperationState.Pause\") -%}\n      Pause\n    {%- else -%}\n      {% set f = (states('sensor.385040390125001454_001_bsh_common_option_remainingprogramtime')) %}\n      {{ '00:00:00' if f == None else \n        (as_datetime(f) - now()).total_seconds() | timestamp_custom('%H:%M:%S', false) }}\n    {%- endif %}\n  {%- endif %}\n{%- endif %}",
              "entity": "sensor.385040390125001454_001_bsh_common_setting_powerstate",
              "icon": "mdi:toaster-oven",
              "color": "Orange",
              "visibility": [
                {
                  "condition": "state",
                  "entity": "sensor.385040390125001454_001_bsh_common_setting_powerstate",
                  "state_not": "BSH.Common.EnumType.PowerState.Standby"
                }
              ]
            },
            {
              "type": "custom:mushroom-template-badge",
              "entity": "sensor.404060394415001720_bsh_common_setting_powerstate",
              "icon": "mdi:dishwasher",
              "color": "Orange",
              "content": "{% if is_state(\"sensor.404060394415001720_bsh_common_setting_powerstate\", \"BSH.Common.EnumType.PowerState.Off\") -%}\n  Uit\n{%- else -%}\n  {% if is_state('sensor.404060394415001720_bsh_common_status_operationstate',\"BSH.Common.EnumType.OperationState.Finnished\") -%}\n    Klaar\n  {% elif is_state('sensor.404060394415001720_bsh_common_status_operationstate',\"BSH.Common.EnumType.OperationState.Ready\") -%}\n    Aan\n  {%- else -%}\n    {% if is_state('sensor.404060394415001720_bsh_common_status_operationstate',\"BSH.Common.EnumType.OperationState.Pause\") -%}\n      Pause\n    {%- else -%}\n{{as_timestamp(states('sensor.404060394415001720_bsh_common_option_remainingprogramtime')) | timestamp_custom ('%H:%M') }}\n    {%- endif %}\n  {%- endif %}\n{%- endif %}",
              "visibility": [
                {
                  "condition": "state",
                  "entity": "sensor.404060394415001720_bsh_common_setting_powerstate",
                  "state_not": "BSH.Common.EnumType.PowerState.Off"
                }
              ]
            },
            {
              "type": "custom:mushroom-template-badge",
              "content": "{% if is_state(\"binary_sensor.droger_vermogen\", \"off\") -%}\n  Uit\n{%- else -%}\n  {% if is_state('sensor.droger_machinestatus','stop') -%}\n    Klaar\n  {%- else -%}\n    {% if is_state('sensor.droger_machinestatus','pause') -%}\n      Pause\n    {%- else -%}\n{{as_timestamp(states('sensor.droger_completion_time')) | timestamp_custom ('%H:%M') }}\n    {%- endif %}\n  {%- endif %}\n{%- endif %}",
              "icon": "mdi:tumble-dryer",
              "color": "orange",
              "entity": "select.droger",
              "visibility": [
                {
                  "condition": "state",
                  "entity": "binary_sensor.droger_vermogen",
                  "state": "on"
                }
              ],
              "tap_action": {
                "action": "more-info"
              }
            },
            {
              "type": "entity",
              "show_name": false,
              "show_state": true,
              "show_icon": true,
              "entity": "counter.container_lichting",
              "tap_action": {
                "action": "perform-action",
                "perform_action": "script.container_increment",
                "target": {}
              }
            }
          ],
          "header": {
            "layout": "center",
            "badges_position": "top",
            "badges_wrap": "scroll"
          },
          "icon": "mdi:home",
          "dense_section_placement": false,
          "background": {
            "opacity": 33,
            "alignment": "center",
            "size": "cover",
            "repeat": "repeat",
            "attachment": "scroll"
          },
          "top_margin": false,
          "theme": "noctis"
        },
        {
          "type": "sections",
          "max_columns": 4,
          "title": "Beneden",
          "path": "beneden",
          "icon": "mdi:home-floor-0",
          "sections": [
            {
              "type": "grid",
              "cards": [
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "icon": "mdi:home",
                  "tap_action": {
                    "action": "navigate",
                    "navigation_path": "/woonkamer-kiosk/0"
                  },
                  "grid_options": {
                    "columns": 4,
                    "rows": 2
                  },
                  "show_state": false,
                  "color": "primary",
                  "name": "Home"
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "icon": "mdi:home-floor-1",
                  "tap_action": {
                    "action": "navigate",
                    "navigation_path": "/woonkamer-kiosk/other-places"
                  },
                  "grid_options": {
                    "columns": 4,
                    "rows": 2
                  },
                  "entity": "light.ikea_of_sweden_stoftmoln_ceiling_wall_lamp_ww37",
                  "name": "Boven"
                }
              ]
            },
            {
              "type": "grid",
              "cards": [
                {
                  "type": "heading",
                  "heading": "Woonkamer",
                  "heading_style": "subtitle",
                  "badges": [
                    {
                      "type": "entity",
                      "entity": "sensor.temperatuur_woonkamer_temperatuur"
                    },
                    {
                      "type": "entity",
                      "entity": "sensor.temperatuur_woonkamer_luchtvochtigheid"
                    },
                    {
                      "type": "entity",
                      "entity": "sensor.esp32_c3_aqs_ikea_co2_co2"
                    },
                    {
                      "type": "entity",
                      "show_state": false,
                      "show_icon": true,
                      "entity": "binary_sensor.beweging_zolder_ep_lite_occupancy",
                      "color": "state",
                      "icon": "mdi:motion-sensor"
                    }
                  ]
                },
                {
                  "type": "custom:mushroom-climate-card",
                  "entity": "climate.verwarming_woonkamer_blu",
                  "name": "Verwarming",
                  "layout": "horizontal",
                  "tap_action": {
                    "action": "more-info"
                  },
                  "hold_action": {
                    "action": "none"
                  },
                  "double_tap_action": {
                    "action": "none"
                  }
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "entity": "light.ikea_of_sweden_stoftmoln_ceiling_wall_lamp_ww37",
                  "name": "Zitkamer",
                  "icon": "mdi:ceiling-light-outline",
                  "grid_options": {
                    "columns": 3,
                    "rows": 2
                  },
                  "hold_action": {
                    "action": "none"
                  },
                  "double_tap_action": {
                    "action": "perform-action",
                    "perform_action": "light.turn_on",
                    "target": {
                      "device_id": "7026dcbac2c028559245f0d89f7c6ccc"
                    },
                    "data": {
                      "brightness_pct": 100
                    }
                  },
                  "tap_action": {
                    "action": "perform-action",
                    "perform_action": "light.toggle",
                    "target": {
                      "device_id": "7026dcbac2c028559245f0d89f7c6ccc"
                    },
                    "data": {
                      "brightness_pct": 50
                    }
                  }
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "icon": "mdi:ceiling-light-multiple-outline",
                  "grid_options": {
                    "columns": 3,
                    "rows": 2
                  },
                  "entity": "light.lamp_kast",
                  "name": "Kast",
                  "hold_action": {
                    "action": "none"
                  },
                  "double_tap_action": {
                    "action": "perform-action",
                    "perform_action": "light.turn_on",
                    "target": {
                      "entity_id": "light.lamp_tafel"
                    },
                    "data": {
                      "brightness_pct": 94
                    }
                  }
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "icon": "mdi:lamp",
                  "grid_options": {
                    "columns": 3,
                    "rows": 2
                  },
                  "entity": "light.zout_lamp",
                  "hold_action": {
                    "action": "none"
                  },
                  "double_tap_action": {
                    "action": "perform-action",
                    "perform_action": "light.turn_on",
                    "target": {
                      "entity_id": "light.lamp_tafel"
                    },
                    "data": {
                      "brightness_pct": 100
                    }
                  }
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "icon": "mdi:ceiling-light-multiple-outline",
                  "grid_options": {
                    "columns": 3,
                    "rows": 2
                  },
                  "entity": "light.lamp_tafel",
                  "name": "Tafel",
                  "hold_action": {
                    "action": "none"
                  },
                  "double_tap_action": {
                    "action": "perform-action",
                    "perform_action": "light.turn_on",
                    "target": {
                      "entity_id": "light.lamp_tafel"
                    },
                    "data": {
                      "brightness_pct": 100
                    }
                  }
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "icon": "mdi:led-strip",
                  "grid_options": {
                    "columns": 3,
                    "rows": 2
                  },
                  "show_state": false,
                  "hold_action": {
                    "action": "none"
                  },
                  "tap_action": {
                    "action": "perform-action",
                    "perform_action": "script.kerst_toggle",
                    "target": {}
                  },
                  "color": "amber",
                  "entity": "light.ledstok",
                  "name": {
                    "type": "entity"
                  }
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "icon": "mdi:lamp",
                  "grid_options": {
                    "columns": 3,
                    "rows": 2
                  },
                  "entity": "light.lamp_tafel_sfeer",
                  "hold_action": {
                    "action": "none"
                  },
                  "double_tap_action": {
                    "action": "perform-action",
                    "perform_action": "light.turn_on",
                    "target": {
                      "entity_id": "light.lamp_tafel"
                    },
                    "data": {
                      "brightness_pct": 100
                    }
                  },
                  "name": "Tafel sfeer"
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "icon": "mdi:television",
                  "grid_options": {
                    "columns": 3,
                    "rows": 2
                  },
                  "entity": "media_player.woonkamer",
                  "show_state": false,
                  "hold_action": {
                    "action": "none"
                  },
                  "tap_action": {
                    "action": "perform-action",
                    "perform_action": "homeassistant.toggle",
                    "target": {
                      "device_id": "d7efcb1ed9220728ed0e3388309a4a86"
                    },
                    "data": {}
                  },
                  "color": "amber"
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "entity": "climate.verwarming_woonkamer",
                  "icon": "mdi:leaf",
                  "show_state": false,
                  "tap_action": {
                    "action": "perform-action",
                    "perform_action": "climate.set_temperature",
                    "target": {
                      "entity_id": "climate.verwarming_woonkamer"
                    },
                    "data": {
                      "temperature": 15
                    }
                  },
                  "hold_action": {
                    "action": "none"
                  },
                  "name": "Eco",
                  "grid_options": {
                    "columns": 4,
                    "rows": 2
                  }
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "entity": "climate.verwarming_woonkamer",
                  "icon": "mdi:thermometer-check",
                  "show_state": false,
                  "tap_action": {
                    "action": "perform-action",
                    "perform_action": "climate.set_temperature",
                    "target": {
                      "entity_id": "climate.verwarming_woonkamer"
                    },
                    "data": {
                      "temperature": 18
                    }
                  },
                  "hold_action": {
                    "action": "none"
                  },
                  "name": "18gr",
                  "grid_options": {
                    "columns": 4,
                    "rows": 2
                  }
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "entity": "climate.verwarming_woonkamer",
                  "icon": "mdi:heat-wave",
                  "show_state": false,
                  "tap_action": {
                    "action": "perform-action",
                    "perform_action": "climate.set_temperature",
                    "target": {
                      "entity_id": "climate.verwarming_woonkamer"
                    },
                    "data": {
                      "temperature": 20
                    }
                  },
                  "hold_action": {
                    "action": "none"
                  },
                  "grid_options": {
                    "columns": 4,
                    "rows": 2
                  },
                  "name": "20gr"
                }
              ]
            },
            {
              "type": "grid",
              "cards": [
                {
                  "type": "heading",
                  "heading": "Keuken",
                  "heading_style": "subtitle",
                  "icon": "",
                  "badges": [
                    {
                      "type": "entity",
                      "entity": "sensor.sonoff_snzb_02d_temperatuur"
                    },
                    {
                      "type": "entity",
                      "entity": "sensor.sonoff_snzb_02d_luchtvochtigheid"
                    },
                    {
                      "type": "entity",
                      "entity": "binary_sensor.beweging_keuken"
                    }
                  ]
                },
                {
                  "type": "custom:mushroom-climate-card",
                  "entity": "climate.thermostaat_keuken",
                  "name": "Verwarming",
                  "layout": "horizontal",
                  "tap_action": {
                    "action": "more-info"
                  },
                  "hold_action": {
                    "action": "none"
                  },
                  "double_tap_action": {
                    "action": "none"
                  }
                },
                {
                  "type": "entities",
                  "entities": [
                    {
                      "entity": "select.385040390125001454_001_bsh_common_setting_powerstate"
                    },
                    {
                      "entity": "sensor.385040390125001454_001_active_program"
                    },
                    {
                      "entity": "sensor.385040390125001454_001_bsh_common_option_remainingprogramtime"
                    }
                  ],
                  "visibility": [
                    {
                      "condition": "state",
                      "state_not": "unavailable"
                    }
                  ],
                  "title": "Oven"
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "entity": "climate.thermostaat_keuken",
                  "icon": "mdi:leaf",
                  "show_state": false,
                  "tap_action": {
                    "action": "perform-action",
                    "perform_action": "climate.set_temperature",
                    "target": {
                      "entity_id": "climate.thermostaat_keuken"
                    },
                    "data": {
                      "temperature": 15
                    }
                  },
                  "hold_action": {
                    "action": "none"
                  },
                  "name": "Eco"
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "entity": "climate.thermostaat_keuken",
                  "icon": "mdi:heat-wave",
                  "show_state": false,
                  "tap_action": {
                    "action": "perform-action",
                    "perform_action": "climate.set_temperature",
                    "target": {
                      "entity_id": "climate.thermostaat_keuken"
                    },
                    "data": {
                      "temperature": 18
                    }
                  },
                  "hold_action": {
                    "action": "none"
                  },
                  "name": "Verwarming aan"
                }
              ],
              "column_span": 1
            },
            {
              "type": "grid",
              "cards": [
                {
                  "type": "heading",
                  "heading": "Hal en Overloop",
                  "heading_style": "subtitle"
                },
                {
                  "type": "custom:mushroom-climate-card",
                  "entity": "climate.smart_radiator_thermostat_x_3",
                  "name": "Verwarming",
                  "layout": "horizontal",
                  "tap_action": {
                    "action": "more-info"
                  },
                  "hold_action": {
                    "action": "none"
                  },
                  "double_tap_action": {
                    "action": "none"
                  }
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "entity": "light.lamp_toilet",
                  "icon": "mdi:wall-sconce-flat",
                  "grid_options": {
                    "columns": 4,
                    "rows": 2
                  }
                }
              ]
            }
          ],
          "subview": true,
          "cards": [],
          "theme": "noctis"
        },
        {
          "type": "sections",
          "max_columns": 4,
          "title": "Boven",
          "path": "other-places",
          "icon": "mdi:home-floor-1",
          "sections": [
            {
              "type": "grid",
              "cards": [
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "icon": "mdi:home",
                  "tap_action": {
                    "action": "navigate",
                    "navigation_path": "/woonkamer-kiosk/0"
                  },
                  "grid_options": {
                    "columns": 4,
                    "rows": 3
                  },
                  "show_state": false,
                  "color": "primary",
                  "name": "Home"
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "icon": "mdi:home-floor-0",
                  "tap_action": {
                    "action": "navigate",
                    "navigation_path": "/woonkamer-kiosk/beneden"
                  },
                  "grid_options": {
                    "columns": 4,
                    "rows": 3
                  },
                  "entity": "light.ikea_of_sweden_stoftmoln_ceiling_wall_lamp_ww37",
                  "name": "Beneden"
                }
              ]
            },
            {
              "type": "grid",
              "cards": [
                {
                  "type": "heading",
                  "heading": "Badkamer",
                  "heading_style": "subtitle",
                  "icon": "mdi:bathtub",
                  "badges": [
                    {
                      "type": "entity",
                      "entity": "sensor.sonoff_snzb_02d_temperatuur_2"
                    },
                    {
                      "type": "entity",
                      "show_state": true,
                      "show_icon": true,
                      "entity": "sensor.sonoff_snzb_02d_luchtvochtigheid_2"
                    },
                    {
                      "type": "entity",
                      "show_state": false,
                      "show_icon": true,
                      "entity": "binary_sensor.beweging_badkamer2",
                      "color": "state"
                    }
                  ]
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "entity": "input_boolean.in_de_douche"
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "icon": "mdi:water-boiler",
                  "tap_action": {
                    "action": "perform-action",
                    "perform_action": "script.toggle_boiler",
                    "target": {}
                  },
                  "entity": "water_heater.smart_boiler_77cb",
                  "hold_action": {
                    "action": "perform-action",
                    "perform_action": "script.toggle_boiler",
                    "target": {}
                  }
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "entity": "light.lamp_badkamer",
                  "icon": "mdi:wall-sconce-flat",
                  "grid_options": {
                    "columns": 4,
                    "rows": 2
                  }
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "entity": "fan.ventilator_badkamer",
                  "icon": "mdi:fan",
                  "grid_options": {
                    "columns": 4,
                    "rows": 2
                  }
                },
                {
                  "type": "entities",
                  "entities": [
                    {
                      "entity": "water_heater.smart_boiler_77cb"
                    },
                    {
                      "entity": "sensor.smart_boiler_77cb_s_heater"
                    }
                  ]
                }
              ]
            },
            {
              "type": "grid",
              "cards": [
                {
                  "type": "heading",
                  "heading": "Slaapkamer",
                  "heading_style": "subtitle",
                  "icon": "mdi:bed-double-outline",
                  "badges": [
                    {
                      "type": "entity",
                      "entity": "sensor.temperatuur_slaapkamer_temperatuur"
                    },
                    {
                      "type": "entity",
                      "entity": "sensor.temperatuur_slaapkamer_luchtvochtigheid"
                    }
                  ]
                },
                {
                  "type": "custom:mushroom-climate-card",
                  "entity": "climate.smart_radiator_thermostat_x",
                  "name": "Verwarming",
                  "layout": "horizontal",
                  "tap_action": {
                    "action": "more-info"
                  },
                  "hold_action": {
                    "action": "none"
                  },
                  "double_tap_action": {
                    "action": "none"
                  }
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "entity": "light.lamp_slaapkamer_2",
                  "icon": "mdi:wall-sconce-flat",
                  "grid_options": {
                    "columns": 4,
                    "rows": 2
                  }
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "entity": "light.lamp_bed_links_dim",
                  "icon": "mdi:light-flood-down",
                  "name": "Bed links",
                  "grid_options": {
                    "columns": 4,
                    "rows": 2
                  }
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "icon": "mdi:light-flood-down",
                  "name": "Bed rechts",
                  "grid_options": {
                    "columns": 4,
                    "rows": 2
                  },
                  "entity": "light.lanp_bed_rechts_dim"
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "entity": "light.overloop_switch_0",
                  "icon": "mdi:wall-sconce-flat",
                  "grid_options": {
                    "columns": 4,
                    "rows": 2
                  }
                }
              ]
            },
            {
              "type": "grid",
              "cards": [
                {
                  "type": "heading",
                  "heading": "Slaapkamer kids",
                  "heading_style": "subtitle",
                  "badges": [
                    {
                      "type": "entity",
                      "entity": "sensor.temperatuur_slaapkamer_kids_temperatuur"
                    },
                    {
                      "type": "entity",
                      "entity": "sensor.temperatuur_slaapkamer_kids_luchtvochtigheid"
                    }
                  ]
                },
                {
                  "type": "custom:mushroom-climate-card",
                  "entity": "climate.smart_radiator_thermostat_x_5",
                  "name": "Verwarming",
                  "layout": "horizontal",
                  "tap_action": {
                    "action": "more-info"
                  },
                  "hold_action": {
                    "action": "none"
                  },
                  "double_tap_action": {
                    "action": "none"
                  }
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "entity": "light.lamp_kantoor",
                  "icon": "mdi:wall-sconce-flat",
                  "grid_options": {
                    "columns": 4,
                    "rows": 2
                  }
                }
              ]
            }
          ],
          "theme": "noctis",
          "cards": [],
          "subview": true
        }
      ]
    }
  }
}