Hoekeren75

Flersidet dashboard

Dec 28th, 2021 (edited)
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 22.65 KB | None | 0 0
  1. title: Nørrekær
  2. views:
  3.   - path: default_view
  4.     title: Oversigt
  5.     icon: mdi:home
  6.     badges:
  7.       - entity: binary_sensor.updater
  8.       - entity: sensor.hacs
  9.       - entity: person.christian
  10.       - entity: person.frederik
  11.       - entity: person.laura
  12.       - entity: person.annemette
  13.     cards:
  14.       - type: custom:button-card
  15.         size: 50px
  16.         styles:
  17.           label:
  18.             - font-size: 90%
  19.           card:
  20.             - height: 80px
  21.             - width: 392px
  22.           icon:
  23.             - color: var(--paper-item-icon-color)
  24.           grid:
  25.             - position: relative
  26.           custom_fields:
  27.             notification:
  28.               - background-color: |
  29.                   [[[
  30.                     if (states['sensor.events'].state < 1)
  31.                       return "var(--light-primary-color)";
  32.                     return "var(--accent-color)";
  33.                   ]]]
  34.               - border-radius: 50%
  35.               - position: absolute
  36.               - left: 57%
  37.               - top: 3%
  38.               - height: 25px
  39.               - width: 25px
  40.               - font-size: 12px
  41.               - line-height: 25px
  42.         custom_fields:
  43.           notification: |
  44.             [[[ return states['sensor.events'].state ]]]
  45.         label: |
  46.           [[[
  47.             var label = states['sensor.events'].attributes.first_event_name
  48.             return label.replace("|","<br>");
  49.           ]]]
  50.         color_type: icon
  51.         show_label: fals
  52.         show_name: false
  53.         entity: sensor.events
  54.       - type: weather-forecast
  55.         entity: weather.hjem
  56.       - type: picture-glance
  57.         title: Indkørslen
  58.         image: https://demo.home-assistant.io/stub_config/kitchen.png
  59.         entities: []
  60.         camera_image: camera.indkorsel_foscam_rtsp
  61.         camera_view: live
  62.       - type: glance
  63.         entities:
  64.           - entity: binary_sensor.fordor_contact
  65.           - entity: binary_sensor.terrassedor_contact
  66.           - entity: binary_sensor.kontor_contact
  67.           - entity: binary_sensor.laura_contact
  68.           - entity: binary_sensor.frederik_contact
  69.           - entity: binary_sensor.bryggers_contact
  70.           - entity: binary_sensor.badevaerelset_contact
  71.           - entity: binary_sensor.stuen_v_contact
  72.           - entity: binary_sensor.stuen_h_contact
  73.         columns: 3
  74.         show_state: false
  75.         title: Står noget åbent?
  76.       - type: glance
  77.         entities:
  78.           - entity: sensor.bryggers_temp_fugt_temperature
  79.           - entity: sensor.ble_temperature_frederik
  80.           - entity: sensor.ble_temperature_laura
  81.           - entity: sensor.ble_temperature_gaestebad
  82.           - entity: sensor.ble_temperature_sovevaerelset
  83.           - entity: sensor.ble_temperature_bad
  84.           - entity: sensor.terrassevejr_temperature
  85.           - entity: sensor.tvstuen_temperature
  86.         title: Temperaturer
  87.         columns: 3
  88.         show_icon: false
  89.         state_color: false
  90.         show_state: true
  91.   - title: Laura
  92.     path: laura
  93.     icon: mdi:human-female
  94.     badges: []
  95.     cards:
  96.       - type: sensor
  97.         entity: sensor.ble_temperature_laura
  98.         graph: line
  99.       - type: entities
  100.         entities:
  101.           - entity: light.loft_laura
  102.           - entity: light.planterne
  103.           - entity: light.hyldelys
  104.         title: Lys
  105.         state_color: true
  106.       - type: entities
  107.         entities:
  108.           - entity: scene.laura_make_up
  109.             name: Make Up
  110.       - type: media-control
  111.         entity: media_player.play1_laura
  112.       - type: media-control
  113.         entity: media_player.google_home_mini_laura
  114.       - type: entities
  115.         entities:
  116.           - entity: input_number.blaesevejr_i
  117.           - entity: input_boolean.start_blaesevejr
  118.       - type: custom:button-card
  119.         state:
  120.           - value: 'on'
  121.             spin: true
  122.         tap_action:
  123.           action: toggle
  124.         entity: switch.sonoff_laura_switch
  125.         name: Ventilatoren
  126.   - title: Frederik
  127.     path: frederik
  128.     icon: mdi:human-male
  129.     visible:
  130.       - user: 96e5fad5f0fd40bc9ea6f9db3b3f048a
  131.       - user: 15ecd7dc052e4549930d4270d1b5f473
  132.       - user: 0252a51f28a04877830c16d997bfe374
  133.       - user: 56acc021bb6c49a09d1c12bf2d4e2d6c
  134.       - user: 42c9c17ae29f49748a5d156a12efedbd
  135.       - user: 54068d1139114d7abb3482e9f2e8428c
  136.     badges: []
  137.     cards:
  138.       - type: sensor
  139.         graph: line
  140.         entity: sensor.ble_temperature_frederik
  141.       - type: entities
  142.         entities:
  143.           - entity: light.lyskaeden
  144.           - entity: light.loft_frederik_light
  145.             name: Loft
  146.         title: Lys
  147.         state_color: true
  148.       - type: media-control
  149.         entity: media_player.play1_frederik
  150.       - type: media-control
  151.         entity: media_player.google_home_mini_frederik
  152.   - title: Stuen
  153.     path: stuen
  154.     icon: mdi:television-classic
  155.     badges: []
  156.     cards:
  157.       - type: entities
  158.         entities:
  159.           - light.tvlampe
  160.           - light.fjer
  161.           - light.skaenk_tvstue
  162.         title: Lys
  163.       - type: entities
  164.         entities:
  165.           - scene.fuldt_blus
  166.           - scene.hyggelys_tvstue
  167.       - type: entities
  168.         entities:
  169.           - script.stream_foscam_til_chromecast
  170.       - entity: fan.xiaomi_smart_fan_s2
  171.         name: Ventilatoren
  172.         type: custom:fan-xiaomi
  173.   - title: Ude
  174.     path: ude
  175.     icon: mdi:flower
  176.     badges: []
  177.     cards:
  178.       - type: entities
  179.         entities:
  180.           - entity: light.terrasselys
  181.           - entity: switch.sonoff_haven
  182.           - entity: switch.sonoff_paeretraet
  183.         title: Ude
  184.         state_color: true
  185.       - type: entities
  186.         entities:
  187.           - input_boolean.vinterbelysning
  188.       - type: entities
  189.         entities:
  190.           - entity: sensor.terrassevejr_temperature
  191.             secondary_info: last-changed
  192.           - entity: sensor.terrassevejr_humidity
  193.             name: Luftfugtighed
  194.           - entity: sensor.terrassevejr_pressure
  195.             name: Lufttryk
  196.         title: Klima
  197.       - cards:
  198.           - elements:
  199.               - entity: sensor.landroid_wifi
  200.                 style:
  201.                   '--paper-item-icon-color': rgb(3, 169, 244)
  202.                   left: 0%
  203.                   opacity: 1
  204.                   top: 0%
  205.                   transform: none
  206.                 title: WIFI Quality
  207.                 type: state-icon
  208.               - entity: sensor.landroid_wifi
  209.                 style:
  210.                   color: rgb(3, 169, 244)
  211.                   font-weight: bold
  212.                   left: 9%
  213.                   opacity: 1
  214.                   top: 1%
  215.                   transform: none
  216.                 title: WIFI Quality
  217.                 type: state-label
  218.               - entity: sensor.landroid_bat
  219.                 style:
  220.                   '--paper-item-icon-color': rgb(3, 169, 244)
  221.                   opacity: 1
  222.                   right: 0%
  223.                   top: 0%
  224.                   transform: none
  225.                 title: Battery Status
  226.                 type: state-icon
  227.               - entity: sensor.landroid_mower_battery
  228.                 style:
  229.                   color: rgb(3, 169, 244)
  230.                   font-weight: bold
  231.                   opacity: 1
  232.                   right: 8%
  233.                   top: 1%
  234.                   transform: none
  235.                 title: Battery
  236.                 type: state-label
  237.               - entity: sensor.landroid_mower_status
  238.                 style:
  239.                   color: rgb(3, 169, 244)
  240.                   font-size: 150%
  241.                   font-weight: bold
  242.                   left: 0%
  243.                   opacity: 1
  244.                   top: 7%
  245.                   transform: none
  246.                 title: Status
  247.                 type: state-label
  248.               - entity: sensor.landroid_mower_error
  249.                 style:
  250.                   color: rgb(3, 169, 244)
  251.                   font-size: 150%
  252.                   font-weight: bold
  253.                   left: 0%
  254.                   opacity: 1
  255.                   top: 13%
  256.                   transform: none
  257.                 title: Status
  258.                 type: state-label
  259.               - entity: sensor.landroid_pitch
  260.                 style:
  261.                   '--paper-item-icon-color': rgb(3, 169, 244)
  262.                   opacity: 1
  263.                   right: 0%
  264.                   top: 9%
  265.                   transform: none
  266.                 title: Pitch
  267.                 type: state-icon
  268.               - entity: sensor.landroid_pitch
  269.                 style:
  270.                   color: rgb(3, 169, 244)
  271.                   font-weight: bold
  272.                   opacity: 1
  273.                   right: 8%
  274.                   top: 10%
  275.                   transform: none
  276.                 title: Pitch
  277.                 type: state-label
  278.               - entity: sensor.landroid_roll
  279.                 style:
  280.                   '--paper-item-icon-color': rgb(3, 169, 244)
  281.                   opacity: 1
  282.                   right: 0%
  283.                   top: 18%
  284.                   transform: none
  285.                 title: Roll
  286.                 type: state-icon
  287.               - entity: sensor.landroid_roll
  288.                 style:
  289.                   color: rgb(3, 169, 244)
  290.                   font-weight: bold
  291.                   opacity: 1
  292.                   right: 8%
  293.                   top: 19%
  294.                   transform: none
  295.                 title: Roll
  296.                 type: state-label
  297.               - entity: sensor.landroid_yaw
  298.                 style:
  299.                   '--paper-item-icon-color': rgb(3, 169, 244)
  300.                   opacity: 1
  301.                   right: 0%
  302.                   top: 26%
  303.                   transform: none
  304.                 title: Yaw
  305.                 type: state-icon
  306.               - entity: sensor.landroid_yaw
  307.                 style:
  308.                   color: rgb(3, 169, 244)
  309.                   font-weight: bold
  310.                   opacity: 1
  311.                   right: 8%
  312.                   top: 27%
  313.                   transform: none
  314.                 title: Yaw
  315.                 type: state-label
  316.               - entity: sensor.landroid_dist
  317.                 style:
  318.                   '--paper-item-icon-color': rgb(3, 169, 244)
  319.                   left: 31%
  320.                   opacity: 1
  321.                   top: 26%
  322.                   transform: none
  323.                 title: Total Distance
  324.                 type: state-icon
  325.               - entity: sensor.landroid_dist
  326.                 style:
  327.                   color: rgb(3, 169, 244)
  328.                   font-weight: bold
  329.                   left: 40%
  330.                   opacity: 1
  331.                   top: 27%
  332.                   transform: none
  333.                 title: Total Distance
  334.                 type: state-label
  335.               - entity: sensor.landroid_totaltime
  336.                 style:
  337.                   '--paper-item-icon-color': rgb(3, 169, 244)
  338.                   left: 31%
  339.                   opacity: 1
  340.                   top: 41%
  341.                   transform: none
  342.                 title: Total Time
  343.                 type: state-icon
  344.               - entity: sensor.landroid_totaltime
  345.                 style:
  346.                   color: rgb(3, 169, 244)
  347.                   font-weight: bold
  348.                   left: 40%
  349.                   opacity: 1
  350.                   top: 40%
  351.                   transform: none
  352.                 title: Total Time
  353.                 type: state-label
  354.               - attribute: time_formatted
  355.                 entity: sensor.landroid_totaltime
  356.                 style:
  357.                   color: rgb(3, 169, 244)
  358.                   font-size: 10px
  359.                   font-style: italic
  360.                   font-weight: bold
  361.                   left: 40%
  362.                   opacity: 1
  363.                   top: 45%
  364.                   transform: none
  365.                 title: Total Time
  366.                 type: state-label
  367.               - entity: sensor.landroid_bladetime
  368.                 style:
  369.                   '--paper-item-icon-color': rgb(3, 169, 244)
  370.                   left: 31%
  371.                   opacity: 1
  372.                   top: 56%
  373.                   transform: none
  374.                 title: Blade Time
  375.                 type: state-icon
  376.               - entity: sensor.landroid_bladetime
  377.                 style:
  378.                   color: rgb(3, 169, 244)
  379.                   font-weight: bold
  380.                   left: 40%
  381.                   opacity: 1
  382.                   top: 55%
  383.                   transform: none
  384.                 title: Blade Time
  385.                 type: state-label
  386.               - attribute: time_formatted
  387.                 entity: sensor.landroid_bladetime
  388.                 style:
  389.                   color: rgb(3, 169, 244)
  390.                   font-size: 10px
  391.                   font-style: italic
  392.                   font-weight: bold
  393.                   left: 40%
  394.                   opacity: 1
  395.                   top: 60%
  396.                   transform: none
  397.                 title: Blade Time
  398.                 type: state-label
  399.               - entity: input_boolean.landroid_sched_settings
  400.                 image: /local/mower/timer-off.png
  401.                 state_filter:
  402.                   'off': brightness(100%) saturate(1)
  403.                   'on': brightness(90%) saturate(1)
  404.                 state_image:
  405.                   'on': /local/mower/timer.png
  406.                 style:
  407.                   bottom: 4%
  408.                   left: 45%
  409.                   transform: translate(-280%, 25%) scale(0.7, 0.7)
  410.                 tap_action:
  411.                   action: toggle
  412.                 title: Scheduler
  413.                 type: image
  414.               - icon: mdi:play
  415.                 style:
  416.                   color: rgb(250, 250, 250)
  417.                   bottom: 4%
  418.                   left: 45%
  419.                   transform: translate(-260%, 0%) scale(1.6, 1.6)
  420.                 tap_action:
  421.                   action: call-service
  422.                   service: script.landroid_start
  423.                 title: Mow
  424.                 type: icon
  425.               - icon: mdi:pause
  426.                 style:
  427.                   color: rgb(250, 250, 250)
  428.                   bottom: 4%
  429.                   left: 45%
  430.                   transform: translate(0%, 0%) scale(1.6, 1.6)
  431.                 tap_action:
  432.                   action: call-service
  433.                   service: script.landroid_pause
  434.                 title: Pause
  435.                 type: icon
  436.               - icon: mdi:home
  437.                 style:
  438.                   color: rgb(250, 250, 250)
  439.                   bottom: 4%
  440.                   left: 45%
  441.                   transform: translate(260%, 0%) scale(1.6, 1.6)
  442.                 tap_action:
  443.                   action: call-service
  444.                   service: script.landroid_home
  445.                 title: Stop & Drive Home
  446.                 type: icon
  447.               - entity: input_boolean.landroid_info_toggle
  448.                 image: /local/mower/info-off.png
  449.                 state_filter:
  450.                   'off': brightness(100%) saturate(1)
  451.                   'on': brightness(90%) saturate(1)
  452.                 state_image:
  453.                   'on': /local/mower/information.png
  454.                 style:
  455.                   bottom: 4%
  456.                   left: 45%
  457.                   transform: translate(240%, 25%) scale(0.7, 0.7)
  458.                 tap_action:
  459.                   action: toggle
  460.                 title: Information
  461.                 type: image
  462.             image: /local/mower/landroid_flower.png
  463.             type: picture-elements
  464.           - type: conditional
  465.             conditions:
  466.               - entity: input_boolean.landroid_sched_settings
  467.                 state: 'on'
  468.             card:
  469.               type: entities
  470.               entities:
  471.                 - entity: input_number.landroid_raindelay
  472.                 - entity: input_number.landroid_timeextension
  473.                 - entity: script.landroid_set_config
  474.               title: Config
  475.               show_header_toggle: false
  476.           - card:
  477.               entities:
  478.                 - entities:
  479.                     - entity: sensor.landroid_ip
  480.                     - entity: sensor.landroid_sn
  481.                     - entity: sensor.landroid_mac
  482.                     - attribute: firmware_version
  483.                       entity: sensor.landroid_mower_status
  484.                       icon: mdi:information-variant
  485.                       name: Firmware
  486.                       type: attribute
  487.                   head: sensor.landroid_lastupdate
  488.                   type: custom:fold-entity-row
  489.                 - label: Configuration
  490.                   type: section
  491.                 - attribute: raindelay
  492.                   entity: sensor.landroid_mower_status
  493.                   icon: mdi:weather-lightning-rainy
  494.                   name: Rain delay
  495.                   suffix: min
  496.                   type: attribute
  497.                 - attribute: timeextension
  498.                   entity: sensor.landroid_mower_status
  499.                   icon: mdi:clock
  500.                   name: Time extension
  501.                   suffix: '%'
  502.                   type: attribute
  503.                 - entities:
  504.                     - entity: automation.landroid_notify_error
  505.                     - entity: automation.landroid_notify_status
  506.                     - entity: automation.landroid_sync_values
  507.                   head:
  508.                     label: Automation
  509.                     type: section
  510.                   type: custom:fold-entity-row
  511.               show_header_toggle: false
  512.               title: Information
  513.               type: entities
  514.             conditions:
  515.               - entity: input_boolean.landroid_info_toggle
  516.                 state: 'on'
  517.             type: conditional
  518.           - type: entity
  519.             entity: counter.graesplneslaet_x_gange
  520.         type: vertical-stack
  521.   - title: Kontoret
  522.     path: kontoret
  523.     icon: mdi:desk
  524.     visible:
  525.       - user: 15ecd7dc052e4549930d4270d1b5f473
  526.       - user: 42c9c17ae29f49748a5d156a12efedbd
  527.       - user: 54068d1139114d7abb3482e9f2e8428c
  528.     badges: []
  529.     cards:
  530.       - entity: fan.blaeseren
  531.         name: Blæseren
  532.         type: custom:fan-xiaomi
  533.       - type: entities
  534.         entities:
  535.           - entity: light.racklys
  536.           - entity: sensor.brother_mfc_j4620dw_bk
  537.           - entity: sensor.brother_mfc_j4620dw_c
  538.           - entity: sensor.brother_mfc_j4620dw_m
  539.           - entity: sensor.brother_mfc_j4620dw_y
  540.           - entity: sensor.brother_mfc_j4620dw
  541.         title: Kontoret
  542.       - type: entities
  543.         entities:
  544.           - entity: device_tracker.unifi_cloudkey
  545.           - entity: device_tracker.usg_kontor
  546.           - entity: device_tracker.us8p60
  547.           - entity: device_tracker.flex_mini
  548.           - entity: device_tracker.ap_kontor
  549.           - entity: device_tracker.ap_stue
  550.         title: Netværksudstyr
  551.       - cards:
  552.           - card:
  553.               show_header_toggle: false
  554.               title: Batterier der skal skiftes
  555.               type: entities
  556.             filter:
  557.               include:
  558.                 - entity_id: '*_batt*'
  559.                   sort:
  560.                     method: state
  561.                     numeric: true
  562.                   state: < 20
  563.             show_empty: false
  564.             type: custom:auto-entities
  565.           - card:
  566.               show_header_toggle: false
  567.               title: Batterier
  568.               type: entities
  569.             filter:
  570.               include:
  571.                 - entity_id: '*_batt*'
  572.                   sort:
  573.                     method: state
  574.                     numeric: true
  575.                   state: '>= 20'
  576.             show_empty: false
  577.             type: custom:auto-entities
  578.         type: vertical-stack
  579.   - title: Media
  580.     path: media
  581.     icon: mdi:play-network
  582.     visible:
  583.       - user: 15ecd7dc052e4549930d4270d1b5f473
  584.       - user: 42c9c17ae29f49748a5d156a12efedbd
  585.       - user: 54068d1139114d7abb3482e9f2e8428c
  586.     badges: []
  587.     cards:
  588.       - type: media-control
  589.         entity: media_player.badevarelset
  590.       - type: media-control
  591.         entity: media_player.amp_kontoret
  592.       - type: media-control
  593.         entity: media_player.playone_kokken
  594.       - type: media-control
  595.         entity: media_player.chromecast_tvstuen
  596.       - type: media-control
  597.         entity: media_player.playbar_tvstuen
  598.       - type: media-control
  599.         entity: media_player.google_home_mini_frederik
  600.       - type: media-control
  601.         entity: media_player.play1_frederik
  602.       - type: media-control
  603.         entity: media_player.google_home_mini_laura
  604.       - type: media-control
  605.         entity: media_player.play1_laura
  606.   - title: Lys
  607.     path: lys
  608.     icon: mdi:lightbulb-on
  609.     visible:
  610.       - user: 96e5fad5f0fd40bc9ea6f9db3b3f048a
  611.       - user: 15ecd7dc052e4549930d4270d1b5f473
  612.       - user: 42c9c17ae29f49748a5d156a12efedbd
  613.       - user: 54068d1139114d7abb3482e9f2e8428c
  614.     badges: []
  615.     cards:
  616.       - type: entities
  617.         entities:
  618.           - entity: light.alt_lys_i_hele_huset
  619.           - entity: light.alt_lauras_lys
  620.           - entity: light.alt_frederiks_lys
  621.           - entity: light.alt_lys_i_spisestuen
  622.           - entity: light.alt_lys_i_tvstuen
  623.         title: Master Switches
  624.       - type: entities
  625.         entities:
  626.           - light.pantella
  627.           - light.skaenk_spisestue
  628.         title: Spisestuen
  629.         state_color: true
  630.       - type: entities
  631.         entities:
  632.           - light.tvlampe
  633.           - light.fjer
  634.           - light.skaenk_tvstue
  635.         title: TVstuen
  636.         state_color: true
  637.       - type: entities
  638.         entities:
  639.           - entity: light.loft_laura
  640.           - entity: light.hyldelys
  641.           - entity: light.planterne
  642.         title: Lauras værelse
  643.         state_color: true
  644.       - type: entities
  645.         entities:
  646.           - entity: light.lyskaeden
  647.           - entity: light.loft_frederik_light
  648.             name: Loft
  649.         title: Frederik
  650.         state_color: true
  651.       - type: entities
  652.         entities:
  653.           - entity: light.gangen
  654.         title: Gangen
  655.         state_color: true
  656.       - type: entities
  657.         entities:
  658.           - entity: light.terrasselys
  659.           - entity: switch.sonoff_haven
  660.           - entity: switch.sonoff_paeretraet
  661.         state_color: true
  662.         title: Ude
  663.       - type: entities
  664.         entities:
  665.           - entity: light.loftrum
  666.         title: Loftrummet
  667.         state_color: true
  668.       - type: entities
  669.         entities:
  670.           - entity: light.racklys
  671.         title: Kontoret
  672.       - type: entities
  673.         entities:
  674.           - entity: light.extended_color_light_1
  675.         title: Køkkenet
  676.         state_color: true
  677.   - title: Værkstedet
  678.     path: varkstedet
  679.     icon: mdi:hammer-wrench
  680.     badges: []
  681.     cards:
  682.       - type: button
  683.         tap_action:
  684.           action: toggle
  685.         entity: switch.sonoff_cirkulationspumpe
  686.  
Add Comment
Please, Sign In to add comment