{
  "version": 1,
  "minor_version": 1,
  "key": "lovelace.tuya_panel",
  "data": {
    "config": {
      "kiosk_mode": {
        "user_settings": [
          {
            "users": [
              "lenovo",
              "tuya"
            ],
            "hide_header": true
          },
          {
            "users": [
              "willem"
            ],
            "hide_header": false
          }
        ]
      },
      "views": [
        {
          "theme": "ios-dark-mode-blue-red",
          "title": "Home",
          "subview": true,
          "badges": [],
          "cards": [
            {
              "type": "horizontal-stack",
              "cards": [
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "tap_action": {
                    "action": "call-service",
                    "service": "scene.turn_on",
                    "data": {},
                    "target": {
                      "entity_id": "scene.woonkamer_ochtend_scene"
                    }
                  },
                  "entity": "scene.woonkamer_ochtend_scene",
                  "icon": "mdi:lamps",
                  "name": "alles aan",
                  "hold_action": {
                    "action": "none"
                  },
                  "icon_height": "40px"
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "tap_action": {
                    "action": "call-service",
                    "service": "script.woonkamer_sfeer_verlichting_aan",
                    "data": {},
                    "target": {}
                  },
                  "entity": "scene.woonkamer_sfeer_verlichting_aan",
                  "icon": "mdi:floor-lamp",
                  "name": "Sfeer",
                  "icon_height": "40px"
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "tap_action": {
                    "action": "call-service",
                    "service": "script.woonkamer_party_30min",
                    "data": {},
                    "target": {}
                  },
                  "entity": "scene.woonkamer_party",
                  "icon": "mdi:party-popper",
                  "name": "Party!",
                  "hold_action": {
                    "action": "none"
                  },
                  "icon_height": "40px",
                  "show_state": false
                },
                {
                  "show_name": true,
                  "show_icon": false,
                  "show_state": true,
                  "type": "glance",
                  "entities": [
                    {
                      "entity": "sensor.time"
                    }
                  ],
                  "columns": 1,
                  "state_color": false
                }
              ]
            },
            {
              "type": "grid",
              "cards": [
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "tap_action": {
                    "action": "toggle"
                  },
                  "entity": "switch.rolluik_woonkamer",
                  "show_state": false,
                  "icon": "mdi:blinds-horizontal-closed",
                  "name": "Rolluik voor",
                  "icon_height": "40px"
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "tap_action": {
                    "action": "navigate",
                    "navigation_path": "/tuya-panel/lampen"
                  },
                  "entity": "light.lamp_sfeer2",
                  "name": "verlichting",
                  "icon": "mdi:lamps",
                  "hold_action": {
                    "action": "none"
                  },
                  "icon_height": "40px"
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "tap_action": {
                    "action": "navigate",
                    "navigation_path": "/tuya-panel/grover"
                  },
                  "entity": "vacuum.roborock_qrevo_s",
                  "icon_height": "40px",
                  "name": "Poetsie"
                }
              ]
            }
          ]
        },
        {
          "theme": "ios-dark-mode-blue-red",
          "title": "Airco",
          "path": "airco",
          "icon": "mdi:air-conditioner",
          "subview": true,
          "badges": [],
          "cards": [
            {
              "type": "horizontal-stack",
              "cards": [
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "tap_action": {
                    "action": "navigate",
                    "navigation_path": "/tuya-panel/0"
                  },
                  "name": "Back",
                  "icon": "mdi:arrow-left",
                  "show_state": false,
                  "icon_height": "50px"
                },
                {
                  "show_name": false,
                  "show_icon": true,
                  "type": "button",
                  "tap_action": {
                    "action": "toggle"
                  },
                  "entity": "script.woonkamer_koelen",
                  "icon_height": "50px",
                  "name": "Airco Koelen",
                  "icon": "mdi:snowflake-thermometer"
                },
                {
                  "show_name": false,
                  "show_icon": true,
                  "type": "button",
                  "tap_action": {
                    "action": "call-service",
                    "service": "script.woonkamer_verwarmen",
                    "target": {}
                  },
                  "entity": "climate.airco_ir_woonkamer_airco",
                  "name": "Verwarmen",
                  "icon": "mdi:radiator",
                  "icon_height": "50px"
                },
                {
                  "show_name": false,
                  "show_icon": true,
                  "type": "button",
                  "tap_action": {
                    "action": "toggle"
                  },
                  "entity": "script.woonkamer_airco_uit",
                  "icon_height": "50px",
                  "name": "Airco uit",
                  "icon": "mdi:radiator-off"
                }
              ]
            },
            {
              "type": "custom:mushroom-climate-card",
              "entity": "climate.airco_ir_woonkamer_airco",
              "name": "Airco Woonkamer",
              "icon": "mdi:hvac",
              "layout": "horizontal",
              "hvac_modes": [
                "cool",
                "heat",
                "off"
              ],
              "show_temperature_control": true,
              "hold_action": {
                "action": "none"
              },
              "tap_action": {
                "action": "none"
              },
              "double_tap_action": {
                "action": "more-info"
              }
            },
            {
              "type": "custom:mushroom-climate-card",
              "entity": "climate.woonkamer",
              "icon": "mdi:heating-coil",
              "layout": "horizontal",
              "hvac_modes": [],
              "show_temperature_control": true,
              "name": "Vloerverwarming "
            }
          ]
        },
        {
          "title": "Grover",
          "path": "grover",
          "icon": "mdi:vacuum",
          "theme": "ios-dark-mode-blue-red",
          "badges": [],
          "cards": [
            {
              "square": true,
              "type": "grid",
              "cards": [
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "tap_action": {
                    "action": "navigate",
                    "navigation_path": "/tuya-panel/0"
                  },
                  "name": "Back",
                  "icon": "mdi:home",
                  "hold_action": {
                    "action": "none"
                  },
                  "icon_height": "40px"
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "tap_action": {
                    "action": "perform-action",
                    "perform_action": "script.roborockrevo_alles",
                    "target": {}
                  },
                  "icon": "mdi:home-floor-g",
                  "hold_action": {
                    "action": "none"
                  },
                  "icon_height": "40px",
                  "name": "Beneden"
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "tap_action": {
                    "action": "perform-action",
                    "perform_action": "script.roborockqrevo",
                    "target": {}
                  },
                  "icon": "mdi:home-floor-1",
                  "hold_action": {
                    "action": "none"
                  },
                  "icon_height": "40px",
                  "name": "Boven"
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "tap_action": {
                    "action": "perform-action",
                    "perform_action": "script.roborockrevo_keuken",
                    "target": {}
                  },
                  "name": "Keuken",
                  "icon": "mdi:countertop-outline",
                  "hold_action": {
                    "action": "none"
                  },
                  "icon_height": "50px"
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "tap_action": {
                    "action": "perform-action",
                    "perform_action": "script.roborockrevo_woonkamer",
                    "target": {}
                  },
                  "name": "Woonkamer",
                  "icon": "mdi:sofa",
                  "hold_action": {
                    "action": "none"
                  },
                  "icon_height": "40px"
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "tap_action": {
                    "action": "perform-action",
                    "perform_action": "script.roborockrevo_eetkamer",
                    "target": {}
                  },
                  "name": "Eetkamer",
                  "icon": "mdi:food-fork-drink",
                  "hold_action": {
                    "action": "none"
                  },
                  "icon_height": "40px"
                },
                {
                  "show_name": true,
                  "show_icon": true,
                  "type": "button",
                  "tap_action": {
                    "action": "perform-action",
                    "perform_action": "vacuum.send_command",
                    "target": {
                      "device_id": "ed27da236ac6b520e2624904d20f767e"
                    },
                    "data": {
                      "command": "app_charge"
                    }
                  },
                  "icon": "mdi:robot-vacuum-off",
                  "hold_action": {
                    "action": "none"
                  },
                  "icon_height": "40px",
                  "name": "Stop & Dock"
                }
              ],
              "columns": 3,
              "title": "Stofzuigen"
            }
          ]
        },
        {
          "theme": "ios-dark-mode-blue-red",
          "title": "Radio",
          "path": "radio",
          "icon": "mdi:radio",
          "subview": true,
          "badges": [],
          "cards": [
            {
              "type": "custom:mushroom-chips-card",
              "chips": [
                {
                  "type": "back"
                }
              ]
            },
            {
              "type": "entities",
              "entities": [
                {
                  "entity": "input_select.speakers",
                  "name": "Slecteer Speaker"
                }
              ],
              "theme": "macOS Theme"
            },
            {
              "square": true,
              "columns": 2,
              "type": "grid",
              "cards": [
                {
                  "type": "picture",
                  "image": "http://cdn-profiles.tunein.com/s6707/images/logog.png",
                  "tap_action": {
                    "action": "call-service",
                    "service": "script.radio_keuken_3fm",
                    "data": {},
                    "target": {}
                  },
                  "hold_action": {
                    "action": "none"
                  },
                  "alt_text": "3FM"
                },
                {
                  "type": "picture",
                  "image": "https://cdn-profiles.tunein.com/s25051/images/logog.png",
                  "tap_action": {
                    "action": "call-service",
                    "service": "script.omroep_brabant_keuken",
                    "data": {},
                    "target": {}
                  },
                  "hold_action": {
                    "action": "none"
                  },
                  "alt_text": "Omroep Brabant"
                },
                {
                  "type": "picture",
                  "image": "http://cdn-profiles.tunein.com/s87683/images/logog.png?t=1",
                  "tap_action": {
                    "action": "call-service",
                    "service": "script.radio_keuken_qmusic",
                    "data": {},
                    "target": {}
                  },
                  "hold_action": {
                    "action": "none"
                  },
                  "alt_text": "Qmusic"
                },
                {
                  "type": "picture",
                  "image": "http://cdn-profiles.tunein.com/s296300/images/logog.png",
                  "tap_action": {
                    "action": "call-service",
                    "service": "script.radio_keuken_slamfm",
                    "data": {},
                    "target": {}
                  },
                  "hold_action": {
                    "action": "none"
                  },
                  "alt_text": "SlamFM"
                }
              ]
            },
            {
              "type": "conditional",
              "conditions": [
                {
                  "entity": "input_select.speakers",
                  "state": "keuken"
                }
              ],
              "card": {
                "type": "media-control",
                "entity": "media_player.keuken",
                "theme": "macOS Theme"
              }
            },
            {
              "type": "conditional",
              "conditions": [
                {
                  "entity": "input_select.speakers",
                  "state": "Woonkamer"
                }
              ],
              "card": {
                "type": "media-control",
                "entity": "media_player.bose_woonkamer",
                "theme": "macOS Theme"
              }
            }
          ]
        },
        {
          "title": "Lampen",
          "path": "lampen",
          "subview": true,
          "icon": "mdi:ceiling-light",
          "theme": "ios-dark-mode-blue-red",
          "badges": [],
          "cards": [
            {
              "type": "custom:mushroom-chips-card",
              "chips": [
                {
                  "type": "back"
                }
              ]
            },
            {
              "type": "vertical-stack",
              "cards": [
                {
                  "type": "custom:mushroom-light-card",
                  "entity": "light.lamp_sfeer2",
                  "name": "Sfeer verlichting",
                  "show_brightness_control": true,
                  "layout": "horizontal"
                },
                {
                  "type": "custom:mushroom-light-card",
                  "entity": "light.lamp_woonkamer",
                  "show_brightness_control": true,
                  "icon": "mdi:ceiling-light",
                  "layout": "horizontal"
                },
                {
                  "type": "custom:mushroom-light-card",
                  "entity": "light.lamp_dressoir",
                  "show_brightness_control": true,
                  "icon": "mdi:ceiling-light",
                  "layout": "horizontal"
                },
                {
                  "type": "custom:mushroom-light-card",
                  "entity": "light.lamp_bank",
                  "show_brightness_control": true,
                  "icon": "mdi:ceiling-light",
                  "layout": "horizontal"
                }
              ]
            }
          ]
        }
      ]
    }
  }
}