Advertisement
abeksis

kiosk

Jan 10th, 2022
1,234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 13.38 KB | None | 0 0
  1. title: Kiosk
  2. path: kiosk
  3. icon: mdi:view-dashboard
  4. panel: true
  5.  
  6. cards:
  7.   - type: custom:layout-card
  8.     layout_type: grid
  9.  
  10.     layout_options:
  11.       grid-template-columns: 1fr 1fr
  12.       grid-template-rows: auto
  13.       grid-gap: 0px 14px
  14.    
  15.     cards:
  16.       - type: vertical-stack
  17.         cards:
  18.        ##-- Welcome --##
  19.           - type: 'custom:button-card'
  20.             template: custom_card_paddy_welcome_kisok
  21.             variables:
  22.               ulm_custom_card_paddy_welcome_time: sensor.time
  23.               ulm_custom_card_paddy_welcome_weather_provider: weather.beer_sheva
  24.  
  25.         ##-- Scences Kisok --##
  26.           - type: 'custom:button-card'
  27.             template: custom_card_scences_kisok
  28.             variables:
  29.               ulm_custom_card_paddy_welcome_time: sensor.time
  30.               ulm_custom_card_paddy_welcome_weather_provider: weather.beer_sheva
  31.  
  32.  
  33.       - type: vertical-stack
  34.         cards:
  35.          # Clock And Weather
  36.           - type: custom:layout-card
  37.             layout_type: grid
  38.             layout_options:
  39.               grid-template-columns: 1fr
  40.               grid-template-rows: auto
  41.               grid-gap: 0px 4px
  42.               mediaquery:
  43.                 "(max-width: 450px)":
  44.                  grid-template-columns: 1fr
  45.  
  46.            cards:
  47.  
  48.            ##-- Weather Forecast --##
  49.              - type: weather-forecast
  50.                entity: weather.beer_sheva
  51.                #name: " "
  52.                show_forecast: false
  53.                card_mod:
  54.                style: |
  55.                  ha-card.type-weather-forecast {
  56.                    border-radius: 14px;
  57.                    box-shadow: none;
  58.                  }
  59.                  ha-card.type-weather-forecast .state {
  60.                    text-align: left;
  61.                    font-size: 14px;
  62.                    font-weight: bolder;
  63.                  }
  64.                  ha-card.type-weather-forecast .name {
  65.                    text-align: left;
  66.                    font-size: 14px;
  67.                  }
  68.                  ha-card.type-weather-forecast .temp-attribute {
  69.                    text-align: right;
  70.                  }
  71.                  ha-card.type-weather-forecast .temp {
  72.                    text-align: right;
  73.                    font-size: medium;
  74.                    font-weight: bolder;
  75.                    margin-right: 16px;
  76.                  }
  77.                  ha-card.type-weather-forecast .temp span {
  78.                    text-align: right;
  79.                    font-size: medium;
  80.                    font-weight: bolder;
  81.                  }
  82.                  ha-card.type-weather-forecast .attribute {
  83.                    text-align: right;
  84.                    font-size: smaller;
  85.                  }
  86.  
  87.  
  88.      # - type: vertical-stack
  89.      #   cards:
  90.      #     # Presense
  91.          - type: custom:layout-card
  92.            layout_type: grid
  93.            layout_options:
  94.              grid-template-columns: 1fr 1fr 1fr
  95.              grid-template-rows: auto
  96.              grid-gap: 0px 4px
  97.              mediaquery:
  98.                "(max-width: 450px)":
  99.                  grid-template-columns: 1fr 1fr 1fr
  100.  
  101.            cards:
  102.  
  103.              # Nurit
  104.              - type: 'custom:button-card'
  105.                template: card_person
  106.                variables:
  107.                  ulm_card_person_entity: person.nurit
  108.                  ulm_card_person_use_entity_picture: false
  109.                  ulm_card_person_zone1: work
  110.  
  111.              # Avi
  112.              - type: 'custom:button-card'
  113.                template: card_person
  114.                variables:
  115.                  ulm_card_person_entity: person.avi
  116.                  ulm_card_person_use_entity_picture: false
  117.                  ulm_card_person_zone1: work
  118.  
  119.  
  120.              # Yakir
  121.              - type: 'custom:button-card'
  122.                template: card_person
  123.                variables:
  124.                  ulm_card_person_entity: person.yakir
  125.                  ulm_card_person_use_entity_picture: false
  126.                  ulm_card_person_zone1: school              
  127.  
  128.  
  129.          - type: vertical-stack
  130.            cards:
  131.              - type: custom:layout-card
  132.                layout_type: grid
  133.  
  134.                layout_options:
  135.                  grid-template-columns: 1fr 1fr 1fr 1fr
  136.                  grid-template-rows: auto
  137.                  grid-gap: 0px 4px
  138.                  mediaquery:
  139.                    "(max-width: 450px)":
  140.                      grid-template-columns: 1fr 1fr 1fr 1fr
  141.                cards:
  142.                  - type: custom:button-card
  143.                    entity: camera.blueiris_a_garden
  144.                    size: 90%
  145.                    show_state: false
  146.                    show_label: false
  147.                    show_name: false
  148.                    show_entity_picture: true              
  149.  
  150.                  - type: custom:button-card
  151.                    entity: camera.blueiris_electric_gate
  152.                    size: 92%
  153.                    show_state: false
  154.                    show_label: false
  155.                    show_name: false
  156.                    show_entity_picture: true
  157.  
  158.                  - type: custom:button-card
  159.                    entity: camera.blueiris_front_gate
  160.                    size: 90%
  161.                    show_state: false
  162.                    show_label: false
  163.                    show_name: false
  164.                    show_entity_picture: true
  165.  
  166.                  - type: custom:button-card
  167.                    entity: camera.blueiris_warehouse
  168.                    size: 92%
  169.                    show_state: false
  170.                    show_label: false
  171.                    show_name: false
  172.                    show_entity_picture: true
  173.  
  174. ############################################################################
  175. #                                                                          #
  176. #   Lights Column                                                          #
  177. #                                                                          #
  178. ############################################################################
  179.  
  180.      - type: vertical-stack
  181.        cards:
  182.  
  183.          # Main Lights
  184.          - type: horizontal-stack
  185.            cards:
  186.  
  187.              - type: custom:button-card
  188.                template: title
  189.                name: Lights
  190.  
  191.          - type: custom:layout-card
  192.            layout_type: grid
  193.            layout_options:
  194.              grid-template-columns: 1fr 1fr 1fr
  195.              grid-template-rows: auto
  196.              grid-gap: 0px 4px
  197.              mediaquery:
  198.                "(max-width: 450px)":
  199.                  grid-template-columns: 1fr 1fr
  200.            cards:
  201.  
  202.              # Living Room Light
  203.              - type: 'custom:button-card'
  204.                template:
  205.                  - card_light
  206.                entity: light.living_room
  207.                name: L. Room
  208.  
  209.              # Dining Light
  210.              - type: 'custom:button-card'
  211.                template:
  212.                  - card_light
  213.                entity: light.dining_room
  214.                name: Dining
  215.  
  216.              # iSland Light
  217.              - type: 'custom:button-card'
  218.                template:
  219.                  - card_light
  220.                entity: light.island
  221.                name: iSland
  222.  
  223.              # Outdoor Light
  224.              - type: 'custom:button-card'
  225.                template:
  226.                  - card_light
  227.                entity: light.outdoor_light
  228.                name: Outdoor                
  229.  
  230.              # Kitchen Light
  231.              - type: 'custom:button-card'
  232.                template:
  233.                  - card_light
  234.                entity: light.kitchen
  235.                name: Kitchen
  236.    
  237.              # Lobby Light
  238.              - type: 'custom:button-card'
  239.                template:
  240.                  - card_light
  241.                entity: light.philips_toilet_lobby
  242.                name: Lobby
  243.              
  244.              # Kids Light              
  245.              - type: 'custom:button-card'
  246.                template: card_light
  247.                entity: light.kids_shower_light
  248.                name: Kids
  249.              
  250.              # Guests Light
  251.              - type: 'custom:button-card'
  252.                template: card_light
  253.                entity: light.guests_bathroom
  254.                name: Guests
  255.              
  256.              # Garden Light
  257.              - type: 'custom:button-card'
  258.                template: card_light
  259.                entity: light.garden
  260.                name: Garden
  261.  
  262.              # Rotem Light
  263.              - type: 'custom:button-card'
  264.                template:
  265.                  - card_light
  266.                entity: light.rotem_room
  267.                name: Rotem
  268.  
  269.              # liran Light
  270.              - type: 'custom:button-card'
  271.                template:
  272.                  - card_light
  273.                entity: light.liran_room
  274.                name: Liran
  275.                # icon: mdi:string-lights  
  276.  
  277.              # Yakir Light
  278.              - type: 'custom:button-card'
  279.                template:
  280.                  - card_light
  281.                entity: light.yakir_room
  282.                name: Yakir
  283.  
  284.              # Closets Room Light
  285.              - type: 'custom:button-card'
  286.                template:
  287.                  - card_light
  288.                entity: light.closets
  289.                name: Closets
  290.  
  291.              # Gateway Light
  292.              - type: 'custom:button-card'
  293.                template:
  294.                  - card_light_color
  295.                  - popup_light
  296.                entity: light.gateway_light
  297.                variables:
  298.                  ulm_card_light_name: Gateway
  299.                name: Gateway  
  300.  
  301.              # Laundry Light
  302.              - type: "custom:button-card"
  303.                template:
  304.                  - card_light
  305.                entity: light.laundry_room_light  
  306.                name: Laundry
  307.  
  308.              # Mirror Light
  309.              - type: 'custom:button-card'
  310.                template: card_light
  311.                entity: light.parents_light_mirror
  312.                name: Mirror    
  313.  
  314.              # Philips 1 Light
  315.              - type: "custom:button-card"
  316.                template:
  317.                  - card_light
  318.                  - popup_light
  319.                entity: light.philips_1
  320.                name: Philips 1
  321.  
  322.              # Philips 2 Light
  323.              - type: "custom:button-card"
  324.                template:
  325.                  - card_light
  326.                  - popup_light
  327.                entity: light.philips_2
  328.                name: Philips 2          
  329.                
  330.  
  331. ############################################################################
  332. #                                                                          #
  333. #   Devices Column                                                         #
  334. #                                                                          #
  335. ############################################################################
  336.  
  337.      - type: vertical-stack
  338.        cards:
  339.  
  340.        # Climate
  341.          - type: horizontal-stack
  342.            cards:
  343.  
  344.              - type: custom:button-card
  345.                template: title
  346.                name: Devices
  347.  
  348.          - type: custom:layout-card
  349.            layout_type: grid
  350.            layout_options:
  351.              grid-template-columns: 1fr 1fr 1fr
  352.              grid-template-rows: auto
  353.              grid-gap: 0px 4px
  354.              mediaquery:
  355.                "(max-width: 450px)":
  356.                  grid-template-columns: 1fr 1fr 1fr
  357.            cards:
  358.  
  359.              # Living Room Climate
  360.              - type: 'custom:button-card'
  361.                template: card_ac_buttons
  362.                variables:
  363.                  ulm_card_ac_entity: climate.living_room
  364.                  ulm_card_ac_fan_mode_sensor: sensor.sensibo_living_room_fan
  365.                  ulm_card_ac_name: 'Living Room'    
  366.  
  367.          # Switcher
  368.              - type: 'custom:button-card'
  369.                template:
  370.                  - card_switcher
  371.                variables:
  372.                  ulm_card_switcher_entity: switch.switcher_mini
  373.                  ulm_card_switcher_timer_script: script.switcher_turn_on_timer_script
  374.                  ulm_card_switcher_time_left: sensor.switcher_mini_remaining_time
  375.                  ulm_card_switcher_timer_minutes: input_select.switcher_timer_minutes_input_select
  376.                  ulm_card_switcher_electric_current: sensor.switcher_mini_electric_current    
  377.  
  378.              ##-- Cover  --##
  379.              - type: 'custom:button-card'
  380.                template:
  381.                  - card_cover_with_buttons
  382.                variables:
  383.                  ulm_card_cover_with_buttons_name: "Dining Room"
  384.                  ulm_card_cover_with_buttons_entity: "cover.shutter_dining_room"            
  385.  
  386.              ##-- Parents  --##
  387.              - type: 'custom:button-card'
  388.                template:
  389.                  - card_cover_with_buttons
  390.                variables:
  391.                  ulm_card_cover_with_buttons_name: "Parents"
  392.                  ulm_card_cover_with_buttons_entity: "cover.shutter_in_parents"
  393.  
  394.              ##-- Vacuum --##
  395.              - type: 'custom:button-card'
  396.                template: vacuum2
  397.                variables:
  398.                  entity: vacuum.vacuum
  399.                  name: Vacuum
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement