{
  "version": 1,
  "minor_version": 1,
  "key": "lovelace",
  "data": {
    "config": {
      "views": [
        {
          "type": "sections",
          "max_columns": 4,
          "title": "Home",
          "path": "home2",
          "theme": "noctis",
          "sections": [
            {
              "type": "grid",
              "cards": [
                {
                  "type": "custom:mushroom-select-card",
                  "entity": "input_select.dashboard_willem_dropdown",
                  "primary_info": "none",
                  "icon_type": "icon",
                  "icon": "mdi:card-account-details-outline",
                  "secondary_info": "none",
                  "fill_container": true,
                  "layout": "horizontal",
                  "grid_options": {
                    "columns": 15,
                    "rows": 1
                  }
                }
              ],
              "column_span": 4
            },
            {
              "type": "grid",
              "cards": [
                {
                  "type": "heading",
                  "heading_style": "subtitle",
                  "heading": "Kantoor",
                  "icon": "mdi:chair-rolling"
                },
                {
                  "type": "custom:mushroom-climate-card",
                  "entity": "climate.smart_radiator_thermostat_x_4",
                  "name": "Verwarming",
                  "icon": "mdi:home-thermometer",
                  "hvac_modes": [
                    "heat",
                    "off"
                  ],
                  "show_temperature_control": true,
                  "layout": "horizontal",
                  "collapsible_controls": true,
                  "tap_action": {
                    "action": "none"
                  },
                  "hold_action": {
                    "action": "none"
                  },
                  "double_tap_action": {
                    "action": "more-info"
                  }
                },
                {
                  "type": "custom:ha-bambulab-print_status-card",
                  "printer": "dfb8370f2f4158784df36aa8e313a191"
                },
                {
                  "type": "custom:mushroom-light-card",
                  "entity": "light.lamp_kantoor_2",
                  "show_brightness_control": true,
                  "icon": "mdi:wall-sconce-flat",
                  "layout": "horizontal"
                }
              ],
              "visibility": [
                {
                  "condition": "and",
                  "conditions": [
                    {
                      "condition": "or",
                      "conditions": [
                        {
                          "condition": "and",
                          "conditions": [
                            {
                              "condition": "state",
                              "entity": "sensor.iphone16_willem_irk_area",
                              "state": "Kantoor"
                            },
                            {
                              "condition": "state",
                              "entity": "input_select.dashboard_willem_dropdown",
                              "state": "Auto"
                            }
                          ]
                        },
                        {
                          "condition": "state",
                          "entity": "input_select.dashboard_willem_dropdown",
                          "state": "Kantoor"
                        }
                      ]
                    },
                    {
                      "condition": "user",
                      "users": [
                        "f8c926ce57004d378a28014cc5a732ae"
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "type": "grid",
              "cards": [
                {
                  "type": "heading",
                  "heading_style": "title",
                  "icon": "mdi:sofa-outline",
                  "badges": [],
                  "grid_options": {
                    "columns": "full",
                    "rows": 1
                  },
                  "heading": "Woonkamer "
                },
                {
                  "type": "heading",
                  "heading_style": "subtitle",
                  "icon": "none",
                  "badges": [
                    {
                      "type": "entity",
                      "entity": "sensor.ikea_of_sweden_vindstyrka_pm2_5"
                    },
                    {
                      "type": "entity",
                      "entity": "sensor.esp32_c3_aqs_ikea_co2_co2"
                    },
                    {
                      "type": "entity",
                      "entity": "sensor.temperatuur_woonkamer_temperatuur"
                    },
                    {
                      "type": "entity",
                      "entity": "sensor.ikea_of_sweden_vindstyrka_luchtvochtigheid"
                    }
                  ],
                  "grid_options": {
                    "columns": "full",
                    "rows": 1
                  }
                },
                {
                  "type": "custom:mushroom-climate-card",
                  "entity": "climate.verwarming_woonkamer_blu",
                  "name": "Thermostaat",
                  "icon": "mdi:home-thermometer",
                  "hvac_modes": [
                    "heat",
                    "off"
                  ],
                  "show_temperature_control": true,
                  "layout": "horizontal",
                  "collapsible_controls": true,
                  "tap_action": {
                    "action": "none"
                  },
                  "hold_action": {
                    "action": "none"
                  },
                  "double_tap_action": {
                    "action": "more-info"
                  }
                },
                {
                  "type": "custom:mushroom-light-card",
                  "entity": "light.ikea_of_sweden_stoftmoln_ceiling_wall_lamp_ww37",
                  "name": "Zitkamer",
                  "icon": "mdi:ceiling-light-outline",
                  "show_brightness_control": true,
                  "layout": "horizontal"
                },
                {
                  "type": "custom:mushroom-light-card",
                  "entity": "light.ikea_of_sweden_tradfri_bulb_e27_ww_clear_250lm",
                  "icon": "mdi:ceiling-light-outline",
                  "show_brightness_control": true,
                  "layout": "horizontal",
                  "name": "Bank"
                },
                {
                  "type": "custom:mushroom-light-card",
                  "entity": "light.lamp_tafel_sfeer",
                  "icon": "mdi:ceiling-light-outline",
                  "show_brightness_control": true,
                  "layout": "horizontal",
                  "name": "Tafel Sfeer"
                },
                {
                  "type": "custom:mushroom-light-card",
                  "entity": "light.lamp_kast",
                  "icon": "mdi:ceiling-light-outline",
                  "show_brightness_control": true,
                  "layout": "horizontal",
                  "name": "Kast"
                },
                {
                  "type": "custom:mushroom-light-card",
                  "icon": "mdi:ceiling-light-multiple",
                  "show_brightness_control": true,
                  "layout": "horizontal",
                  "entity": "light.lamp_tafel",
                  "name": "Eettafel",
                  "show_color_temp_control": false
                },
                {
                  "type": "custom:mushroom-light-card",
                  "entity": "light.zout_lamp",
                  "icon": "mdi:ceiling-light-outline",
                  "show_brightness_control": true,
                  "layout": "horizontal",
                  "name": "Zout Lamp"
                },
                {
                  "type": "custom:mushroom-light-card",
                  "icon": "mdi:led-strip-variant",
                  "show_brightness_control": true,
                  "layout": "horizontal",
                  "entity": "light.ledstok",
                  "name": "Ledstrip tv links",
                  "use_light_color": true,
                  "show_color_control": true,
                  "hold_action": {
                    "action": "more-info"
                  }
                },
                {
                  "type": "media-control",
                  "entity": "media_player.unnamed_room"
                },
                {
                  "type": "media-control",
                  "entity": "media_player.woonkamer"
                },
                {
                  "type": "custom:mushroom-fan-card",
                  "entity": "fan.air_circulator",
                  "icon_animation": true,
                  "show_percentage_control": true,
                  "show_oscillate_control": false,
                  "show_direction_control": false,
                  "fill_container": false,
                  "tap_action": {
                    "action": "toggle"
                  },
                  "hold_action": {
                    "action": "perform-action",
                    "perform_action": "script.fan_vertical_angle_calibrate",
                    "target": {}
                  },
                  "double_tap_action": {
                    "action": "more-info"
                  },
                  "grid_options": {
                    "columns": 6,
                    "rows": 2
                  }
                },
                {
                  "show_name": false,
                  "show_icon": true,
                  "type": "button",
                  "entity": "fan.air_circulator",
                  "icon": "mdi:fan-chevron-up",
                  "tap_action": {
                    "action": "perform-action",
                    "perform_action": "script.fan_move_vertical_up",
                    "target": {}
                  }
                },
                {
                  "show_name": false,
                  "show_icon": true,
                  "type": "button",
                  "entity": "fan.air_circulator",
                  "icon": "mdi:fan-chevron-down",
                  "tap_action": {
                    "action": "perform-action",
                    "perform_action": "script.fan_move_vertical_up_duplicate",
                    "target": {}
                  }
                },
                {
                  "show_name": false,
                  "show_icon": true,
                  "type": "button",
                  "entity": "input_boolean.fan_follow_me",
                  "icon": "mdi:radar",
                  "name": "Fan Tracking",
                  "grid_options": {
                    "columns": 3,
                    "rows": 1
                  }
                }
              ],
              "visibility": [
                {
                  "condition": "and",
                  "conditions": [
                    {
                      "condition": "or",
                      "conditions": [
                        {
                          "condition": "and",
                          "conditions": [
                            {
                              "condition": "state",
                              "entity": "sensor.iphone16_willem_irk_area",
                              "state": "Woonkamer"
                            },
                            {
                              "condition": "state",
                              "entity": "input_select.dashboard_willem_dropdown",
                              "state": "Auto"
                            }
                          ]
                        },
                        {
                          "condition": "state",
                          "entity": "input_select.dashboard_willem_dropdown",
                          "state": "Woonkamer"
                        }
                      ]
                    },
                    {
                      "condition": "user",
                      "users": [
                        "f8c926ce57004d378a28014cc5a732ae"
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "type": "grid",
              "cards": [
                {
                  "type": "heading",
                  "heading": "Slpkmr Willem",
                  "heading_style": "subtitle",
                  "icon": "mdi:bed-king-outline",
                  "badges": [
                    {
                      "type": "entity",
                      "entity": "sensor.sonoff_snzb_02d_temperatuur"
                    },
                    {
                      "type": "entity",
                      "entity": "sensor.sonoff_snzb_02d_luchtvochtigheid"
                    },
                    {
                      "type": "entity",
                      "show_state": true,
                      "show_icon": true,
                      "entity": "sensor.aqs_slaapkamer_co2",
                      "tap_action": {
                        "action": "more-info"
                      }
                    },
                    {
                      "type": "entity",
                      "show_state": true,
                      "show_icon": true,
                      "entity": "sensor.aqs_slaapkamer_particulate_matter_2_5mm_concentration",
                      "tap_action": {
                        "action": "more-info"
                      }
                    }
                  ]
                },
                {
                  "type": "custom:mushroom-climate-card",
                  "entity": "climate.smart_radiator_thermostat_x",
                  "name": "Verwarming",
                  "icon": "mdi:home-thermometer",
                  "hvac_modes": [
                    "heat",
                    "off"
                  ],
                  "show_temperature_control": true,
                  "layout": "horizontal",
                  "collapsible_controls": true,
                  "tap_action": {
                    "action": "none"
                  },
                  "hold_action": {
                    "action": "none"
                  },
                  "double_tap_action": {
                    "action": "more-info"
                  }
                },
                {
                  "type": "custom:mushroom-light-card",
                  "entity": "light.lamp_slaapkamer_2",
                  "name": "Lamp",
                  "icon": "mdi:wall-sconce-flat",
                  "show_brightness_control": true,
                  "use_light_color": true,
                  "show_color_temp_control": true,
                  "show_color_control": true,
                  "fill_container": true,
                  "grid_options": {
                    "columns": 12,
                    "rows": 1
                  },
                  "layout": "horizontal"
                },
                {
                  "type": "custom:mushroom-light-card",
                  "name": "Bed Links",
                  "entity": "light.lamp_bed_links_dim",
                  "show_brightness_control": true
                },
                {
                  "type": "custom:mushroom-light-card",
                  "name": "Bed rechts",
                  "entity": "light.lanp_bed_rechts_dim",
                  "show_brightness_control": true
                },
                {
                  "type": "custom:mushroom-media-player-card",
                  "entity": "media_player.beamer",
                  "use_media_info": true,
                  "show_volume_level": true,
                  "volume_controls": [
                    "volume_buttons",
                    "volume_set"
                  ],
                  "media_controls": [
                    "on_off",
                    "play_pause_stop"
                  ],
                  "secondary_info": "state",
                  "tap_action": {
                    "action": "none"
                  },
                  "hold_action": {
                    "action": "none"
                  },
                  "double_tap_action": {
                    "action": "more-info"
                  },
                  "layout": "horizontal",
                  "visibility": [
                    {
                      "condition": "state",
                      "entity": "media_player.beamer",
                      "state_not": "unavailable"
                    }
                  ]
                },
                {
                  "type": "custom:mushroom-cover-card",
                  "entity": "cover.shelly_projector_scherm",
                  "name": "Projectie scherm",
                  "show_buttons_control": true,
                  "layout": "horizontal"
                }
              ],
              "visibility": [
                {
                  "condition": "and",
                  "conditions": [
                    {
                      "condition": "or",
                      "conditions": [
                        {
                          "condition": "and",
                          "conditions": [
                            {
                              "condition": "state",
                              "entity": "sensor.iphone16_willem_irk_area",
                              "state": "Slaapkamer Willem"
                            },
                            {
                              "condition": "state",
                              "entity": "input_select.dashboard_willem_dropdown",
                              "state": "Auto"
                            }
                          ]
                        },
                        {
                          "condition": "state",
                          "entity": "input_select.dashboard_willem_dropdown",
                          "state": "Slaapkamer Willem"
                        }
                      ]
                    },
                    {
                      "condition": "user",
                      "users": [
                        "f8c926ce57004d378a28014cc5a732ae"
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "type": "grid",
              "cards": [
                {
                  "type": "heading",
                  "heading": "Slaapkamer Kids",
                  "heading_style": "subtitle",
                  "icon": "mdi:bed-outline"
                },
                {
                  "type": "custom:mushroom-climate-card",
                  "entity": "climate.smart_radiator_thermostat_x_5",
                  "name": "Verwarming",
                  "icon": "mdi:home-thermometer",
                  "hvac_modes": [
                    "heat",
                    "off"
                  ],
                  "show_temperature_control": true,
                  "layout": "horizontal",
                  "collapsible_controls": true,
                  "tap_action": {
                    "action": "none"
                  },
                  "hold_action": {
                    "action": "none"
                  },
                  "double_tap_action": {
                    "action": "more-info"
                  }
                },
                {
                  "type": "custom:mushroom-light-card",
                  "entity": "light.lamp_kantoor",
                  "name": "Lamp",
                  "icon": "mdi:file-cabinet",
                  "show_brightness_control": true,
                  "use_light_color": true,
                  "show_color_temp_control": true,
                  "show_color_control": true,
                  "fill_container": true,
                  "grid_options": {
                    "columns": 12,
                    "rows": 1
                  },
                  "layout": "horizontal",
                  "hold_action": {
                    "action": "none"
                  },
                  "double_tap_action": {
                    "action": "more-info"
                  }
                }
              ],
              "visibility": [
                {
                  "condition": "and",
                  "conditions": [
                    {
                      "condition": "or",
                      "conditions": [
                        {
                          "condition": "and",
                          "conditions": [
                            {
                              "condition": "state",
                              "entity": "sensor.iphone16_willem_irk_area",
                              "state": "Slaapkamer Kids"
                            },
                            {
                              "condition": "state",
                              "entity": "input_select.dashboard_willem_dropdown",
                              "state": "Auto"
                            }
                          ]
                        },
                        {
                          "condition": "state",
                          "entity": "input_select.dashboard_willem_dropdown",
                          "state": "Slaapkamer Kids"
                        }
                      ]
                    },
                    {
                      "condition": "user",
                      "users": [
                        "f8c926ce57004d378a28014cc5a732ae"
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "type": "grid",
              "cards": [
                {
                  "type": "heading",
                  "heading": "Keuken",
                  "heading_style": "subtitle",
                  "icon": "mdi:fridge-outline",
                  "badges": [
                    {
                      "type": "entity",
                      "show_state": true,
                      "show_icon": true,
                      "entity": "binary_sensor.beweging_keuken"
                    },
                    {
                      "type": "entity",
                      "entity": "sensor.sonoff_snzb_02d_temperatuur"
                    },
                    {
                      "type": "entity",
                      "entity": "sensor.sonoff_snzb_02d_luchtvochtigheid"
                    }
                  ]
                },
                {
                  "type": "custom:mushroom-light-card",
                  "entity": "light.lamp_keuken_main",
                  "name": "Lamp",
                  "icon": "mdi:ceiling-light",
                  "show_brightness_control": true,
                  "show_color_temp_control": true,
                  "layout": "horizontal",
                  "use_light_color": true,
                  "fill_container": true
                },
                {
                  "type": "custom:mushroom-light-card",
                  "entity": "light.lamp_keuken_kleur",
                  "name": "Lamp - kleur",
                  "icon": "mdi:ceiling-light",
                  "show_brightness_control": true,
                  "show_color_temp_control": true,
                  "layout": "horizontal",
                  "use_light_color": true,
                  "fill_container": true,
                  "show_color_control": true
                },
                {
                  "type": "custom:mushroom-climate-card",
                  "entity": "climate.thermostaat_keuken",
                  "name": "Verwarming",
                  "icon": "mdi:heating-coil",
                  "layout": "horizontal",
                  "show_temperature_control": true,
                  "hvac_modes": [
                    "heat",
                    "off"
                  ],
                  "tap_action": {
                    "action": "none"
                  },
                  "double_tap_action": {
                    "action": "more-info"
                  },
                  "hold_action": {
                    "action": "more-info"
                  },
                  "fill_container": false
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "entity": "switch.boiler_2",
                  "icon": "mdi:water-boiler",
                  "name": "Aquahot",
                  "grid_options": {
                    "columns": 6,
                    "rows": 2
                  }
                },
                {
                  "type": "entities",
                  "entities": [
                    {
                      "entity": "select.385040390125001454_001_bsh_common_setting_powerstate"
                    },
                    {
                      "entity": "select.385040390125001454_001_programs"
                    },
                    {
                      "entity": "number.385040390125001454_001_cooking_oven_option_setpointtemperature"
                    },
                    {
                      "entity": "sensor.385040390125001454_001_cooking_oven_status_currentcavitytemperature"
                    },
                    {
                      "entity": "switch.385040390125001454_001_cooking_oven_option_fastpreheat"
                    },
                    {
                      "entity": "button.385040390125001454_001_start_pause"
                    },
                    {
                      "entity": "button.385040390125001454_001_stop"
                    }
                  ]
                },
                {
                  "type": "entities",
                  "entities": [
                    {
                      "entity": "sensor.boiler_vermogen",
                      "name": "vermogen Aquahot"
                    },
                    {
                      "entity": "sensor.koelkast_vermogen",
                      "name": "Vermogen Koelkast"
                    },
                    {
                      "entity": "sensor.wasmachine2_vermogen",
                      "name": "Vermogen Oven"
                    },
                    {
                      "entity": "sensor.verwarming_keuken_power",
                      "name": "Vermogen verwarming keuken"
                    }
                  ]
                }
              ],
              "visibility": [
                {
                  "condition": "and",
                  "conditions": [
                    {
                      "condition": "or",
                      "conditions": [
                        {
                          "condition": "and",
                          "conditions": [
                            {
                              "condition": "state",
                              "entity": "sensor.iphone16_willem_irk_area",
                              "state": "Keuken"
                            },
                            {
                              "condition": "state",
                              "entity": "input_select.dashboard_willem_dropdown",
                              "state": "Auto"
                            }
                          ]
                        },
                        {
                          "condition": "state",
                          "entity": "input_select.dashboard_willem_dropdown",
                          "state": "Keuken"
                        }
                      ]
                    },
                    {
                      "condition": "user",
                      "users": [
                        "f8c926ce57004d378a28014cc5a732ae"
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "type": "grid",
              "cards": [
                {
                  "type": "heading",
                  "heading": "Hal & overloop",
                  "heading_style": "subtitle",
                  "badges": [
                    {
                      "type": "entity",
                      "show_state": true,
                      "show_icon": true,
                      "entity": "binary_sensor.everything_presence_one_7f7364_occupancy",
                      "icon": "mdi:motion-sensor"
                    },
                    {
                      "type": "entity",
                      "show_state": true,
                      "show_icon": true,
                      "entity": "sensor.temperatuur_meterkast_temperatuur"
                    },
                    {
                      "type": "entity",
                      "entity": "sensor.temperatuur_meterkast_luchtvochtigheid"
                    }
                  ]
                },
                {
                  "type": "custom:mushroom-climate-card",
                  "entity": "climate.smart_radiator_thermostat_x_3",
                  "name": "Verwarming",
                  "icon": "mdi:home-thermometer",
                  "hvac_modes": [
                    "heat",
                    "off"
                  ],
                  "show_temperature_control": true,
                  "layout": "horizontal",
                  "collapsible_controls": true,
                  "tap_action": {
                    "action": "none"
                  },
                  "hold_action": {
                    "action": "none"
                  },
                  "double_tap_action": {
                    "action": "more-info"
                  }
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "entity": "light.lamp_meterkast",
                  "name": "Meterkast"
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "entity": "water_heater.smart_boiler_77cb",
                  "hold_action": {
                    "action": "perform-action",
                    "perform_action": "script.toggle_boiler",
                    "target": {}
                  }
                },
                {
                  "type": "entities",
                  "entities": [
                    {
                      "entity": "sensor.smart_boiler_77cb_s_heater"
                    },
                    {
                      "entity": "sensor.server_zwave_plug_power"
                    },
                    {
                      "entity": "sensor.boiler_vermogen_2"
                    },
                    {
                      "entity": "sensor.ws_esp32_s3_eth_power_consumed",
                      "name": "Power DSMR Totaal"
                    },
                    {
                      "entity": "sensor.ws_esp32_s3_eth_power_consumed_phase_1",
                      "name": "Power L1"
                    },
                    {
                      "entity": "sensor.ws_esp32_s3_eth_power_consumed_phase_2",
                      "name": "Power L2"
                    },
                    {
                      "entity": "sensor.ws_esp32_s3_eth_power_consumed_phase_3",
                      "name": "Power L3"
                    }
                  ]
                }
              ],
              "visibility": [
                {
                  "condition": "and",
                  "conditions": [
                    {
                      "condition": "or",
                      "conditions": [
                        {
                          "condition": "and",
                          "conditions": [
                            {
                              "condition": "or"
                            },
                            {
                              "condition": "state",
                              "entity": "sensor.iphone16_willem_irk_area",
                              "state": "Hal"
                            },
                            {
                              "condition": "state",
                              "entity": "input_select.dashboard_willem_dropdown",
                              "state": "Auto"
                            }
                          ]
                        },
                        {
                          "condition": "state",
                          "entity": "input_select.dashboard_willem_dropdown",
                          "state": "Hal en overloop"
                        }
                      ]
                    },
                    {
                      "condition": "user",
                      "users": [
                        "f8c926ce57004d378a28014cc5a732ae"
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "type": "grid",
              "cards": [
                {
                  "type": "heading",
                  "heading": "Badkamer",
                  "heading_style": "subtitle",
                  "icon": "mdi:shower-head",
                  "badges": [
                    {
                      "type": "entity",
                      "show_state": true,
                      "show_icon": true,
                      "entity": "binary_sensor.beweging_badkamer2_bezetting"
                    },
                    {
                      "type": "entity",
                      "show_state": true,
                      "show_icon": true,
                      "entity": "sensor.sonoff_snzb_02d_temperatuur_2",
                      "tap_action": {
                        "action": "more-info"
                      }
                    },
                    {
                      "type": "entity",
                      "show_state": true,
                      "show_icon": true,
                      "entity": "sensor.sonoff_snzb_02d_luchtvochtigheid_2",
                      "tap_action": {
                        "action": "more-info"
                      }
                    }
                  ]
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "entity": "fan.ventilator_badkamer",
                  "name": "Ventilator"
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "entity": "input_boolean.in_de_douche"
                },
                {
                  "type": "custom:mushroom-light-card",
                  "entity": "light.lamp_badkamer",
                  "name": "Lamp",
                  "icon": "mdi:ceiling-light",
                  "show_brightness_control": true,
                  "layout": "horizontal"
                },
                {
                  "type": "entities",
                  "entities": [
                    {
                      "entity": "sensor.smart_boiler_77cb_s_heater"
                    },
                    {
                      "entity": "water_heater.smart_boiler_77cb"
                    },
                    {
                      "entity": "sensor.boiler_vermogen_2"
                    }
                  ]
                }
              ],
              "visibility": [
                {
                  "condition": "and",
                  "conditions": [
                    {
                      "condition": "or",
                      "conditions": [
                        {
                          "condition": "and",
                          "conditions": [
                            {
                              "condition": "state",
                              "entity": "sensor.iphone16_willem_irk_area",
                              "state": "Badkamer"
                            },
                            {
                              "condition": "state",
                              "entity": "input_select.dashboard_willem_dropdown",
                              "state": "Auto"
                            }
                          ]
                        },
                        {
                          "condition": "state",
                          "entity": "input_select.dashboard_willem_dropdown",
                          "state": "Badkamer"
                        }
                      ]
                    },
                    {
                      "condition": "user",
                      "users": [
                        "f8c926ce57004d378a28014cc5a732ae"
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "type": "grid",
              "cards": [
                {
                  "type": "heading",
                  "heading": "Home stats",
                  "heading_style": "subtitle"
                },
                {
                  "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",
                  "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",
                  "badge_icon": "{% if  is_state('lock.voordeur', 'locked') %}\n  mdi:lock\n{% else %}\n  mdi:lock-off\n{% endif %}",
                  "badge_color": "{% if  is_state('lock.voordeur', 'locked') %}\n  green\n{% else %}\n  red\n{% endif %}",
                  "double_tap_action": {
                    "action": "perform-action",
                    "perform_action": "lock.lock",
                    "target": {
                      "entity_id": "lock.voordeur"
                    },
                    "data": {}
                  }
                },
                {
                  "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:mini-graph-card",
                  "entities": [
                    {
                      "entity": "sensor.ws_esp32_s3_eth_power_consumed"
                    }
                  ],
                  "name": "ENERGY CONSUMPTION",
                  "show": {
                    "graph": "bar"
                  }
                },
                {
                  "type": "custom:entity-progress-card-template",
                  "entity": "sensor.skoda_enyaq_accupercentage",
                  "icon": "{% if states('sensor.skoda_enyaq_laadstatus') == 'charging' %}\n  mdi:ev-station\n{% else %}\n  mdi:car-electric\n{% endif %}\n",
                  "name": "{% set status = states('sensor.skoda_enyaq_laadstatus') %} {% if states('sensor.skoda_enyaq_laadstatus') == 'connect_cable' %}\n  Skoda accu\n{% elif states('sensor.skoda_enyaq_laadstatus') == 'charging' %}\n  Skoda accu ( Vol om  {% set resterend = states('sensor.skoda_enyaq_laadtijd_resterend') | float(0) %}\n        {{ (now() + timedelta(minutes=resterend)).strftime('%H:%M') }} )\n{% elif states('sensor.skoda_enyaq_laadstatus') == 'ready' %}\n  Skoda accu (Klaar)\n{% endif %}\n",
                  "secondary": "{{states('sensor.skoda_enyaq_accupercentage') }} %",
                  "badge_icon": "{% set status = states('sensor.skoda_enyaq_laadstatus') %} {% if states('sensor.skoda_enyaq_laadstatus') == 'connect_cable' %}\n  none\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 %}\n",
                  "percent": "{{ states('sensor.skoda_enyaq_accupercentage')}}",
                  "force_circular_background": true,
                  "bar_color": "{% set level = states('sensor.skoda_enyaq_accupercentage') | int(0) %} {% if 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 %}\n",
                  "bar_size": "large",
                  "bar_effect": "{% if states('sensor.skoda_enyaq_laadstatus') == 'charging' %}\n  shimmer\n{% else %}\n  radius\n{% endif %}\n",
                  "grid_options": {
                    "columns": 12,
                    "rows": 1
                  }
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "entity": "input_boolean.verwarming_gastmodus",
                  "name": "Gast modus"
                }
              ]
            },
            {
              "type": "grid",
              "cards": [
                {
                  "type": "heading",
                  "heading_style": "subtitle",
                  "heading": "Toilet",
                  "badges": [
                    {
                      "type": "entity",
                      "entity": "binary_sensor.beweging_toilet"
                    }
                  ]
                },
                {
                  "type": "custom:mushroom-light-card",
                  "entity": "light.lamp_toilet",
                  "name": "Toilet",
                  "show_brightness_control": true
                },
                {
                  "type": "entity",
                  "entity": "input_number.beweging_toilet_timer"
                }
              ],
              "visibility": [
                {
                  "condition": "and",
                  "conditions": [
                    {
                      "condition": "or",
                      "conditions": [
                        {
                          "condition": "and",
                          "conditions": [
                            {
                              "condition": "or"
                            },
                            {
                              "condition": "state",
                              "entity": "sensor.iphone16_willem_irk_area",
                              "state": "Hal"
                            },
                            {
                              "condition": "state",
                              "entity": "input_select.dashboard_willem_dropdown",
                              "state": "Auto"
                            }
                          ]
                        },
                        {
                          "condition": "state",
                          "entity": "input_select.dashboard_willem_dropdown",
                          "state": "Hal en overloop"
                        }
                      ]
                    },
                    {
                      "condition": "user",
                      "users": [
                        "f8c926ce57004d378a28014cc5a732ae"
                      ]
                    }
                  ]
                }
              ]
            }
          ],
          "badges": [
            {
              "type": "entity",
              "show_name": false,
              "show_state": true,
              "show_icon": true,
              "icon": "mdi:car-estate",
              "tap_action": {
                "action": "navigate",
                "navigation_path": "/skod"
              },
              "show_entity_picture": true,
              "entity": "device_tracker.skoda_enyaq_positie",
              "visibility": [
                {
                  "condition": "user",
                  "users": [
                    "f8c926ce57004d378a28014cc5a732ae"
                  ]
                }
              ]
            },
            {
              "type": "custom:mushroom-template-badge",
              "content": "{% if is_state(\"person.willem\", \"home\") -%} {{state_attr('device_tracker.iphone16_willem_irk_bermuda_tracker','area')}}\n{%- else -%}\n  {{ states('person.willem') }}\n{%- endif %}",
              "icon": "mdi:mushroom",
              "color": "",
              "picture": "{{ state_attr('person.willem','entity_picture') }}",
              "entity": "person.willem",
              "tap_action": {
                "action": "more-info"
              },
              "visibility": [
                {
                  "condition": "user",
                  "users": [
                    "f8c926ce57004d378a28014cc5a732ae"
                  ]
                }
              ]
            },
            {
              "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": "red",
              "entity": "select.wasmachine",
              "visibility": [
                {
                  "condition": "state",
                  "entity": "sensor.wasmachine_taakstatus",
                  "state_not": "none"
                }
              ],
              "tap_action": {
                "action": "more-info"
              }
            },
            {
              "type": "custom:mushroom-template-badge",
              "icon": "mdi:toaster-oven",
              "color": "red",
              "entity": "sensor.385040390125001454_001_bsh_common_setting_powerstate",
              "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{{as_timestamp(states('sensor.385040390125001454_001_bsh_common_option_remainingprogramtime')) | timestamp_custom ('%H:%M') }}\n    {%- endif %}\n  {%- endif %}\n{%- endif %}",
              "visibility": [
                {
                  "condition": "state",
                  "entity": "sensor.385040390125001454_001_bsh_common_setting_powerstate",
                  "state_not": "BSH.Common.EnumType.PowerState.Standby"
                }
              ]
            },
            {
              "type": "custom:mushroom-template-badge",
              "icon": "mdi:dishwasher",
              "color": "red",
              "entity": "sensor.385040390125001454_001_bsh_common_setting_powerstate",
              "content": "{% if is_state(\"sensor.404060394415001720_bsh_common_setting_powerstate\", \"BSH.Common.EnumType.PowerState.Standby\") -%}\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": "red",
              "entity": "select.droger",
              "visibility": [
                {
                  "condition": "state",
                  "entity": "binary_sensor.droger_vermogen",
                  "state": "on"
                }
              ],
              "tap_action": {
                "action": "more-info"
              }
            },
            {
              "type": "entity",
              "show_name": true,
              "show_state": true,
              "show_icon": true,
              "entity": "sensor.gitea_status",
              "icon": "mdi:git",
              "show_entity_picture": false,
              "name": "Git",
              "visibility": [
                {
                  "condition": "state",
                  "entity": "sensor.uptimekuma_gitea",
                  "state": "down"
                }
              ]
            },
            {
              "type": "entity",
              "show_name": true,
              "show_state": true,
              "show_icon": true,
              "entity": "sensor.mqtt_broker_status",
              "icon": "mdi:close-network-outline",
              "show_entity_picture": false,
              "name": "Mqtt",
              "visibility": [
                {
                  "condition": "state",
                  "entity": "sensor.uptimekuma_mqtt_broker",
                  "state": "down"
                }
              ]
            },
            {
              "type": "entity",
              "show_name": true,
              "show_state": true,
              "show_icon": true,
              "entity": "sensor.jellyfin_status",
              "icon": "mdi:jellyfish-outline",
              "show_entity_picture": false,
              "visibility": [
                {
                  "condition": "state",
                  "entity": "sensor.uptimekuma_jellyfin",
                  "state": "down"
                }
              ],
              "name": "Jellyfin"
            },
            {
              "type": "entity",
              "show_name": true,
              "show_state": true,
              "show_icon": true,
              "entity": "sensor.nginix_proxymananger_status",
              "icon": "mdi:network-off-outline",
              "show_entity_picture": false,
              "name": "proxy",
              "visibility": [
                {
                  "condition": "state",
                  "entity": "sensor.uptimekuma_nginix_proxymananger",
                  "state": "down"
                }
              ]
            },
            {
              "type": "entity",
              "show_name": true,
              "show_state": true,
              "show_icon": true,
              "entity": "sensor.treunas_status",
              "icon": "mdi:nas",
              "show_entity_picture": false,
              "name": "Truenas",
              "visibility": [
                {
                  "condition": "state",
                  "entity": "sensor.uptimekuma_treunas",
                  "state": "down"
                }
              ]
            },
            {
              "type": "entity",
              "show_name": true,
              "show_state": true,
              "show_icon": true,
              "entity": "sensor.zigbee_thread_status",
              "icon": "mdi:zigbee",
              "show_entity_picture": false,
              "name": "Zigbee",
              "visibility": [
                {
                  "condition": "state",
                  "entity": "sensor.uptimekuma_zigbeethread",
                  "state": "down"
                }
              ]
            },
            {
              "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": {}
              }
            }
          ],
          "cards": [],
          "dense_section_placement": true
        },
        {
          "type": "sections",
          "max_columns": 4,
          "title": "Media",
          "path": "media",
          "sections": [
            {
              "type": "grid",
              "cards": [
                {
                  "type": "custom:maxi-media-player",
                  "sections": [
                    "player",
                    "volumes",
                    "groups",
                    "grouping",
                    "media browser",
                    "queue"
                  ],
                  "startSection": "player",
                  "entities": [
                    "media_player.unnamed_room",
                    "media_player.keuken",
                    "media_player.esphome_web_0bac48"
                  ],
                  "entityNameRegexToReplace": "sonos Beam",
                  "entityNameReplacement": "Woonkamer",
                  "topFavorites": [
                    ""
                  ],
                  "dynamicVolumeSlider": false
                }
              ]
            }
          ],
          "theme": "ios-dark-mode-dark-blue",
          "cards": []
        },
        {
          "type": "sections",
          "title": "camera",
          "icon": "mdi:camera",
          "theme": "ios-dark-mode-light-green",
          "cards": [],
          "sections": [
            {
              "type": "grid",
              "cards": [
                {
                  "type": "heading",
                  "heading": "New section"
                },
                {
                  "show_state": false,
                  "show_name": false,
                  "camera_view": "live",
                  "fit_mode": "fill",
                  "type": "picture-entity",
                  "image": {
                    "media_content_id": "https://demo.home-assistant.io/stub_config/bedroom.png"
                  },
                  "camera_image": "camera.front_door_vloeiend",
                  "entity": "light.lamp_keuken_main"
                },
                {
                  "type": "entities",
                  "entities": [
                    {
                      "entity": "number.reolink_chime_silent_time"
                    },
                    {
                      "entity": "number.reolink_chime_volume"
                    },
                    {
                      "entity": "sensor.deurbel_last_recognized_face"
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "type": "sections",
          "max_columns": 4,
          "title": "Verwarming",
          "path": "verwarming",
          "icon": "mdi:heat-wave",
          "theme": "ios-dark-mode-dark-blue",
          "sections": [
            {
              "type": "grid",
              "cards": [
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "entity": "climate.verwarming_woonkamer",
                  "icon": "mdi:power",
                  "name": "Verwarming Uit",
                  "show_state": false,
                  "tap_action": {
                    "action": "perform-action",
                    "perform_action": "script.verwarming_eco_2",
                    "target": {}
                  },
                  "hold_action": {
                    "action": "none"
                  }
                }
              ]
            },
            {
              "type": "grid",
              "cards": [
                {
                  "type": "heading",
                  "heading": "Woonkamer",
                  "heading_style": "title",
                  "badges": [
                    {
                      "type": "entity",
                      "entity": "sensor.esp32_c3_aqs_ikea_co2_humidity"
                    }
                  ]
                },
                {
                  "type": "thermostat",
                  "entity": "climate.verwarming_woonkamer",
                  "features": [
                    {
                      "type": "climate-hvac-modes"
                    }
                  ],
                  "name": {
                    "type": "area"
                  }
                },
                {
                  "show_name": false,
                  "show_icon": true,
                  "show_state": true,
                  "type": "glance",
                  "entities": [
                    {
                      "entity": "sensor.esp32_c3_aqs_ikea_co2_humidity"
                    },
                    {
                      "entity": "sensor.esp32_c3_aqs_ikea_co2_co2"
                    },
                    {
                      "entity": "sensor.ikea_of_sweden_vindstyrka_pm2_5"
                    }
                  ]
                },
                {
                  "type": "heading",
                  "icon": "mdi:fridge",
                  "heading": "Keuken",
                  "heading_style": "title",
                  "badges": [
                    {
                      "type": "entity",
                      "entity": "sensor.sonoff_snzb_02d_luchtvochtigheid"
                    }
                  ]
                },
                {
                  "type": "thermostat",
                  "features": [
                    {
                      "type": "climate-hvac-modes"
                    }
                  ],
                  "entity": "climate.thermostaat_keuken",
                  "name": {
                    "type": "area"
                  }
                }
              ]
            },
            {
              "type": "grid",
              "cards": [
                {
                  "type": "heading",
                  "heading": "Slaapkamer WIllem",
                  "heading_style": "title",
                  "badges": [
                    {
                      "type": "entity",
                      "entity": "sensor.aqs_slaapkamer_humidity"
                    }
                  ]
                },
                {
                  "type": "thermostat",
                  "entity": "climate.smart_radiator_thermostat_x",
                  "features": [
                    {
                      "type": "climate-hvac-modes"
                    }
                  ],
                  "name": {
                    "type": "area"
                  }
                },
                {
                  "show_name": false,
                  "show_icon": true,
                  "show_state": true,
                  "type": "glance",
                  "entities": [
                    {
                      "entity": "sensor.aqs_slaapkamer_co2"
                    },
                    {
                      "entity": "sensor.aqs_slaapkamer_tvoc"
                    },
                    {
                      "entity": "sensor.aqs_slaapkamer_particulate_matter_2_5mm_concentration"
                    }
                  ]
                },
                {
                  "type": "heading",
                  "heading": "Hal",
                  "heading_style": "title",
                  "badges": [
                    {
                      "type": "entity",
                      "entity": "sensor.smart_radiator_thermostat_x_luchtvochtigheid_3"
                    }
                  ]
                },
                {
                  "type": "thermostat",
                  "entity": "climate.smart_radiator_thermostat_x_3",
                  "features": [
                    {
                      "type": "climate-hvac-modes"
                    }
                  ],
                  "name": {
                    "type": "area"
                  }
                }
              ]
            },
            {
              "type": "grid",
              "cards": [
                {
                  "type": "heading",
                  "icon": "mdi:fridge",
                  "heading": "Slaapkamer Kids",
                  "heading_style": "title",
                  "badges": [
                    {
                      "type": "entity",
                      "show_state": true,
                      "show_icon": true,
                      "entity": "sensor.smart_radiator_thermostat_x_luchtvochtigheid_5"
                    }
                  ]
                },
                {
                  "type": "thermostat",
                  "features": [
                    {
                      "type": "climate-hvac-modes"
                    }
                  ],
                  "entity": "climate.smart_radiator_thermostat_x_5",
                  "name": {
                    "type": "area"
                  }
                }
              ]
            },
            {
              "type": "grid",
              "cards": [
                {
                  "type": "heading",
                  "heading": "New section"
                }
              ]
            },
            {
              "cards": [
                {
                  "type": "heading",
                  "heading": "History"
                },
                {
                  "title": "History",
                  "type": "history-graph",
                  "hours_to_show": 33,
                  "entities": [
                    "sensor.temperatuur_kantoor_temperatuur",
                    "sensor.stopcontact_verwarming_kantoor_power",
                    "sensor.temperatuur_kantoor_luchtvochtigheid"
                  ]
                }
              ]
            }
          ],
          "cards": []
        },
        {
          "type": "sections",
          "max_columns": 4,
          "title": "status",
          "path": "status",
          "sections": [
            {
              "type": "grid",
              "cards": [
                {
                  "type": "heading",
                  "heading": "New section"
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "entity": "light.lamp_kast",
                  "tap_action": {
                    "action": "navigate",
                    "navigation_path": "/light"
                  },
                  "name": "lights",
                  "color": "none",
                  "icon": "mdi:lamps"
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "entity": "climate.smart_radiator_thermostat_x_3",
                  "tap_action": {
                    "action": "navigate",
                    "navigation_path": "/climate"
                  },
                  "color": "none",
                  "icon": "cil:home-climate-outline",
                  "name": "Climate"
                }
              ]
            }
          ]
        },
        {
          "type": "panel",
          "path": "",
          "cards": [
            {
              "type": "custom:climate-scheduler-card"
            }
          ],
          "title": "Schedule"
        }
      ]
    }
  }
}