Guest User

HA

a guest
Apr 12th, 2019
293
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 11.53 KB | None | 0 0
  1. background: var(--background-image)
  2. resources:
  3.   - type: module
  4.     url: /local/mini-graph-card-bundle.js?v=0.3.0
  5.   - type: js
  6.     url: /local/monster-card.js?v=1
  7.   - url: /customcards/github/maykar/compact-custom-header.js?track=true
  8.     type: module
  9. title: Home
  10. views:
  11.   - cards:
  12.       - type: 'custom:compact-custom-header'
  13.         main_config: true
  14.       - entity: light.lounge
  15.         hold_action:
  16.           action: more-info
  17.         tap_action:
  18.           action: toggle
  19.         type: entity-button
  20.       - entity: light.dining
  21.         hold_action:
  22.           action: more-info
  23.         tap_action:
  24.           action: toggle
  25.         type: entity-button
  26.       - entity: light.bedroom
  27.         hold_action:
  28.           action: more-info
  29.         tap_action:
  30.           action: toggle
  31.         type: entity-button
  32.       - entity: light.nursery
  33.         hold_action:
  34.           action: more-info
  35.         tap_action:
  36.           action: toggle
  37.         type: entity-button
  38.       - entity: light.kitchen
  39.         hold_action:
  40.           action: more-info
  41.         tap_action:
  42.           action: toggle
  43.         type: entity-button
  44.       - entity: light.toilet
  45.         hold_action:
  46.           action: more-info
  47.         tap_action:
  48.           action: toggle
  49.         type: entity-button
  50.       - entity: group.hallway_lights
  51.         hold_action:
  52.           action: more-info
  53.         icon: 'mdi:lightbulb'
  54.         tap_action:
  55.           action: toggle
  56.         type: entity-button
  57.       - entity: group.hallway_upstairs_lights
  58.         hold_action:
  59.           action: more-info
  60.         icon: 'mdi:lightbulb'
  61.         tap_action:
  62.           action: toggle
  63.         type: entity-button
  64.       - entity: switch.study_light
  65.         hold_action:
  66.           action: more-info
  67.         icon: 'mdi:lightbulb'
  68.         tap_action:
  69.           action: toggle
  70.         type: entity-button
  71.       - entities:
  72.           - entity: light.bedroom
  73.           - entity: light.dining
  74.           - entity: light.kitchen
  75.           - entity: light.lounge
  76.           - entity: light.nursery
  77.           - entity: light.toilet
  78.           - entity: switch.study_light
  79.           - entity: group.hallway_upstairs_lights
  80.           - entity: group.hallway_lights
  81.         show_header_toggle: true
  82.         title: All lights
  83.         type: entities
  84.     badges:
  85.      - binary_sensor.320d_door_lock_state
  86.       - sensor.bedroom_temperature
  87.       - sensor.lounge_temperature
  88.       - sensor.kitchen_temperature
  89.       - sensor.speedtest_download
  90.       - sun.sun
  91.       - sensor.ups
  92.     title: Lights
  93.     theme: clear
  94.     panel: false
  95.     path: ''
  96.   - badges: []
  97.     title: Devices
  98.    
  99.    
  100.     cards:
  101.       - type: 'custom:compact-custom-header'
  102.         main_config: true
  103.         header: true
  104.         redirect: false
  105.         menu: hide
  106.         notifications: hide
  107.         voice: hide
  108.         options: hide
  109.       - entities:
  110.           - entity: sensor.binday
  111.             name: Bin day
  112.           - entity: sensor.binconv
  113.             name: Which bin
  114.         show_header_toggle: false
  115.         title: Bins
  116.         type: entities
  117.       - entities:
  118.           - entity: input_boolean.baby_asleep
  119.         show_header_toggle: false
  120.         title: Baby Asleep
  121.         type: entities
  122.       - entity: climate.downstairs
  123.         id: 30c1dfc9f01e4d50b206862dd212433e
  124.         type: thermostat
  125.       - elements:
  126.           - icon: 'mdi:bell-ring'
  127.             style:
  128.               '--paper-item-icon-color': 'rgb(115, 122, 130)'
  129.               left: 80%
  130.               top: 80%
  131.             tap_action:
  132.               action: call-service
  133.               service: vacuum.locate
  134.               service_data:
  135.                 entity_id: vacuum.xiaomi_vacuum_cleaner
  136.             type: icon
  137.           - icon: 'mdi:home'
  138.             style:
  139.               '--paper-item-icon-color': 'rgb(115, 122, 130)'
  140.               left: 65%
  141.               top: 80%
  142.             tap_action:
  143.               action: call-service
  144.               service: vacuum.return_to_base
  145.               service_data:
  146.                 entity_id: vacuum.xiaomi_vacuum_cleaner
  147.             type: icon
  148.           - icon: 'mdi:play'
  149.             style:
  150.               '--paper-item-icon-color': 'rgb(115, 122, 130)'
  151.               left: 50%
  152.               top: 80%
  153.             tap_action:
  154.               action: call-service
  155.               service: vacuum.start
  156.               service_data:
  157.                 entity_id: vacuum.xiaomi_vacuum_cleaner
  158.             type: icon
  159.           - icon: 'mdi:pause'
  160.             style:
  161.               '--paper-item-icon-color': 'rgb(115, 122, 130)'
  162.               left: 35%
  163.               top: 80%
  164.             tap_action:
  165.               action: call-service
  166.               service: vacuum.pause
  167.               service_data:
  168.                 entity_id: vacuum.xiaomi_vacuum_cleaner
  169.             type: icon
  170.           - icon: 'mdi:stop'
  171.             style:
  172.               '--paper-item-icon-color': 'rgb(155, 122, 130)'
  173.               left: 20%
  174.               top: 80%
  175.             tap_action:
  176.               action: call-service
  177.               service: vacuum.stop
  178.               service_data:
  179.                 entity_id: vacuum.xiaomi_vacuum_cleaner
  180.             type: icon
  181.           - entity: sensor.vacuum_status
  182.             style:
  183.               background-color: 'rgb(54, 65, 78)'
  184.               border-color: 'rgb(34, 154, 210)'
  185.               border-left-style: solid
  186.               color: 'rgb(255, 255, 255)'
  187.               font-family: Trebuchet MS
  188.               font-size: 90%
  189.               font-weight: bold
  190.               left: 5%
  191.               opacity: 0.8
  192.               pointer-events: none
  193.               text-shadow: 1px 1px black
  194.               top: 10%
  195.               transform: 'translate(0%,-50%)'
  196.             type: state-label
  197.           - entity: sensor.vacuum_battery
  198.             style:
  199.               background-color: 'rgb(54, 65, 78)'
  200.               border-color: 'rgb(34, 154, 210)'
  201.               border-right-style: solid
  202.               color: 'rgb(255, 255, 255)'
  203.               font-family: Trebuchet MS
  204.               font-size: 90%
  205.               font-weight: bold
  206.               opacity: 0.8
  207.               pointer-events: none
  208.               right: 5%
  209.               text-shadow: 1px 1px black
  210.               top: 10%
  211.               transform: 'translate(0%,-50%)'
  212.             type: state-label
  213.         image: /local/vacuum_card.jpg
  214.         type: picture-elements
  215.       - entities:
  216.           - entity: input_select.vacuum_room
  217.         type: entities
  218.       - entities:
  219.           - entity: switch.espresso_machine
  220.           - entity: switch.coffee_grinder
  221.         type: entities
  222.     panel: false
  223.   - badges: []
  224.     cards:
  225.       - type: 'custom:compact-custom-header'
  226.         main_config: true
  227.         header: true
  228.         redirect: false
  229.         menu: hide
  230.         notifications: hide
  231.         voice: hide
  232.         options: hide
  233.       - entities:
  234.           - entity: device_tracker.ronaldsiphone
  235.           - entity: device_tracker.tile_p_c3f7763f953a4d81d59163e54592f3da
  236.           - entity: device_tracker.320d
  237.         show_header_toggle: false
  238.         title: Presence
  239.         type: entities
  240.     title: Presence
  241.   - badges: []
  242.     cards:
  243.       - type: 'custom:compact-custom-header'
  244.         main_config: true
  245.         header: true
  246.         redirect: false
  247.         menu: hide
  248.         notifications: hide
  249.         voice: hide
  250.         options: hide
  251.       - entity: media_player.kitchen_tv
  252.         type: media-control
  253.       - entity: media_player.lounge_3
  254.         type: media-control
  255.       - entity: media_player.lounge
  256.         type: media-control
  257.     title: Media Players
  258.   - badges: []
  259.     cards:
  260.       - type: 'custom:compact-custom-header'
  261.         main_config: true
  262.         header: true
  263.         redirect: false
  264.         menu: hide
  265.         notifications: hide
  266.         voice: hide
  267.         options: hide
  268.       - entities:
  269.           - entity: group.kitchen_colour_lights
  270.           - entity: group.kitchen_white_lights
  271.         type: entities
  272.     title: Kitchen
  273.   - badges: []
  274.     cards:
  275.       - type: 'custom:compact-custom-header'
  276.         main_config: true
  277.         header: true
  278.         redirect: false
  279.         menu: hide
  280.         notifications: hide
  281.         voice: hide
  282.         options: hide
  283.       - entities:
  284.           - entity: light.movie_light
  285.           - entity: light.next_to_tv
  286.           - entity: light.next_to_wood_fire
  287.           - entity: light.dining
  288.         type: entities
  289.     title: Lounge
  290.   - badges:
  291.      - device_tracker.tile_27fb005e4c784181
  292.       - device_tracker.tile_d984caf0daf5597a
  293.       - device_tracker.p_c3f7763f953a4d81d59163e54592f3da
  294.       - device_tracker.ronaldsiphone
  295.       - sensor.bedroom_temperature
  296.       - sensor.lounge_temperature
  297.       - sun.sun
  298.     cards:
  299.       - type: 'custom:compact-custom-header'
  300.         main_config: true
  301.         header: true
  302.         redirect: false
  303.         menu: hide
  304.         notifications: hide
  305.         voice: hide
  306.         options: hide
  307.       - animate: true
  308.         entities:
  309.           - entity: binary_sensor.320d_door_lock_state
  310.           - entity: climate.downstairs
  311.           - entity: sensor.bedroom_temperature
  312.           - entity: sensor.kitchen_temperature
  313.           - entity: sensor.lounge_temperature
  314.           - entity: sensor.speedtest_download
  315.           - entity: sensor.speedtest_upload
  316.           - entity: sun.sun
  317.         show_header_toggle: false
  318.         title: Temperatures
  319.         type: entities
  320.       - animate: true
  321.         entities:
  322.           - entity: sensor.wasmachine_power
  323.             show_state: true
  324.           - entity: sensor.wasmachine_energy_today
  325.             show_state: true
  326.           - entity: sensor.wasmachine_energy_yesterday
  327.             show_state: true
  328.         hour24: true
  329.         hours_to_show: 12
  330.         labels: true
  331.         legend: true
  332.         name: Wasmachine usage
  333.         points_per_hour: 4
  334.         type: 'custom:mini-graph-card'
  335.       - entity: sensor.washer_pwrdn
  336.         name: Wasmachine
  337.         type: sensor
  338.       - animate: true
  339.         entities:
  340.           - entity: sensor.coffee_machine_power
  341.             show_state: true
  342.           - entity: sensor.coffee_machine_energy_today
  343.             show_state: true
  344.           - entity: sensor.coffee_machine_energy_yesterday
  345.             show_state: true
  346.         hour24: true
  347.         hours_to_show: 12
  348.         labels: true
  349.         legend: true
  350.         name: Espresso Machine usage
  351.         points_per_hour: 4
  352.         type: 'custom:mini-graph-card'
  353.       - animate: true
  354.         entities:
  355.           - entity: sensor.coffee_grinder_power
  356.             show_state: true
  357.           - entity: sensor.coffee_grinder_energy_today
  358.             show_state: true
  359.           - entity: sensor.coffee_grinder_energy_yesterday
  360.             show_state: true
  361.         hour24: true
  362.         hours_to_show: 12
  363.         labels: true
  364.         legend: true
  365.         name: Coffee Grinder usage
  366.         points_per_hour: 4
  367.         type: 'custom:mini-graph-card'
  368.       - entities:
  369.           - entity: input_boolean.washer_switch
  370.         type: entities
  371.     panel: false
  372.     path: ''
  373.     theme: Backend-selected
  374.     title: Home
  375.   - cards:
  376.       - type: 'custom:compact-custom-header'
  377.         main_config: true
  378.         header: true
  379.         redirect: false
  380.         menu: hide
  381.         notifications: hide
  382.         voice: hide
  383.         options: hide
  384.       - type: 'custom:monster-card'
  385.         card:
  386.           type: entities
  387.           title: Monster
  388.         filter:
  389.           include:
  390.             - entity_id: automation*.*
  391.     badges: []
  392.     title: Automations
Advertisement
Add Comment
Please, Sign In to add comment