Advertisement
kenvase

vån1

Mar 21st, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 12.96 KB | None | 0 0
  1. resources:
  2.   - url: /local/custom_ui/weather-card.js?v=5
  3.     type: module
  4.   - url: /local/surveillance-card.js?v=0
  5.     type: module
  6.   - url: /local/gauge-card.js?v=1
  7.     type: module
  8.  
  9. title: xxx
  10. views:
  11.   - title: Home
  12.     cards:
  13.       - type: picture-entity
  14.         title: Framsidan
  15.         entity: camera.framsidan
  16.         camera_image: camera.framsidan
  17.         show_info: true
  18.         tap_action: dialog
  19.       - type: entities
  20.         title: Familjen
  21.         show_header_toggle: true
  22.         entities:
  23.          - device_tracker.kent_s6
  24.       - type: entities
  25.         title: "Gäster"
  26.         show_header_toggle: true
  27.         entities:
  28.          - device_tracker.android3b0e896da5d0d3fblan
  29.           - device_tracker.androidd24dc881d753d25clan
  30.       - type: entities
  31.         title: Inneklimat
  32.         show_header_toggle: true
  33.         entities:
  34.          - sensor.netatmo_indoor_temperature
  35.           - sensor.netatmo_indoor_co2
  36.           - sensor.netatmo_indoor_humidity
  37.           - sensor.netatmo_indoor_pressure
  38.           - sensor.netatmo_indoor_noise
  39.           - sensor.netatmo_indoor_wifi
  40.       - type: entities
  41.         title: inneklimat_master
  42.         show_header_toggle: true
  43.         entities:
  44.          - sensor.temp_sovrum_temperature
  45.           - sensor.temp_sovrum_humidity
  46.       - type: entities
  47.         title: Inneklimat_gillestuga
  48.         show_header_toggle: true
  49.         entities:
  50.          - sensor.temp_gillestuga_temperature
  51.           - sensor.temp_gillestuga_humidity
  52.       - type: entities
  53.         title: "Dörrar"
  54.         show_header_toggle: true
  55.         entities:
  56.          - lock.polycontrol_danalock_v3_btze_locked
  57.       - type: entities
  58.         title: all lights
  59.         show_header_toggle: true
  60.         entities:
  61.          - light.datarummet
  62.           - light.spot_hoger
  63.           - light.spot_i_ramp
  64.           - light.spot_vanster
  65.       - type: entities
  66.         title: calendar
  67.         show_header_toggle: true
  68.         entities:
  69.          - calendar.familjen
  70.           - calendar.sopor
  71.       - type: entities
  72.         title: all switches
  73.         show_header_toggle: true
  74.         entities:
  75.          - switch.datarum
  76.           - switch.datorer_el
  77.           - switch.utealtan
  78.           - switch.gamla_lampan
  79.           - switch.klistvrum
  80.           - switch.kylskap
  81.       - type: entities
  82.         title: all devices
  83.         show_header_toggle: true
  84.         entities:
  85.          - device_tracker.002536ae8ca8
  86.           - device_tracker.04d6aadfd834
  87.           - device_tracker.04d6aaf5a88a
  88.           - device_tracker.e0a3acddbb2a
  89.           - device_tracker.34ab3797c799
  90.       - type: entities
  91.         title: all automations
  92.         show_header_toggle: true
  93.         entities:
  94.          - automation.las_dorren_21
  95.           - automation.las_dorren_24
  96.           - automation.set_theme_at_startup
  97.           - automation.stang_av_julljus
  98.           - automation.satt_pa_julljus
  99.           - automation.telegram_bot_paminna_om_soporna
  100.           - automation.telegram_callback_to_remove_keyboard
  101.           - automation.telegram_callback_to_repeat_message_in_1_hour
  102.           - automation.telegram_callback_to_repeat_message_in_3_hour
  103.           - automation.telegram_callback_to_repeat_message_in_30_minutes
  104.       - type: media-control
  105.         entity: media_player.chromecastcait7394
  106.       - type: media-control
  107.         entity: media_player.apple_tv
  108.   - title: Familjen
  109.     cards:
  110.       - type: entities
  111.         title: Familjen
  112.         show_header_toggle: true
  113.         entities:
  114.          - device_tracker.kent_s6
  115.       - type: entities
  116.         title: "Gäster"
  117.         show_header_toggle: true
  118.         entities:
  119.          - device_tracker.android3b0e896da5d0d3fblan
  120.           - device_tracker.androidd24dc881d753d25clan
  121.   - title: Vardagsrum
  122.     cards:
  123.       - type: entities
  124.         title: Inneklimat
  125.         show_header_toggle: true
  126.         entities:
  127.          - sensor.netatmo_indoor_temperature
  128.           - sensor.netatmo_indoor_co2
  129.           - sensor.netatmo_indoor_humidity
  130.           - sensor.netatmo_indoor_pressure
  131.           - sensor.netatmo_indoor_noise
  132.           - sensor.netatmo_indoor_wifi
  133.   - title: Sovrum_Master
  134.     cards:
  135.       - type: entities
  136.         title: inneklimat_master
  137.         show_header_toggle: true
  138.         entities:
  139.          - sensor.temp_sovrum_temperature
  140.           - sensor.temp_sovrum_humidity
  141.   - title: Gillestuga
  142.     cards:
  143.       - type: entities
  144.         title: Inneklimat_gillestuga
  145.         show_header_toggle: true
  146.         entities:
  147.          - sensor.temp_gillestuga_temperature
  148.           - sensor.temp_gillestuga_humidity
  149.   - icon: mdi:weather-cloudy
  150.     id: weather
  151.     title: Weather
  152.     cards:
  153.       - type: weather-forecast
  154.         entity: weather.yweather
  155.         entity_sun: sun.sun
  156.   - title: 2:a våningen
  157.     panel: true
  158.     cards:
  159.       - type: picture-elements
  160.         image: /local/topp_floor.png
  161.         elements:
  162.           - type: state-icon
  163.             tap_action:
  164.               action:
  165.                 action: toggle
  166.             entity: switch.gamla_lampan
  167.             style:
  168.               top: 41%
  169.               left: 10%
  170.           - type: state-label
  171.             entity: sensor.netatmo_indoor_temperature
  172.             style:
  173.               top: 16%
  174.               left: 38%
  175.               background-color: black
  176.               border: 1px
  177.           - type: state-label
  178.             entity: sensor.gastrummet_temperature
  179.             style:
  180.               top: 16%
  181.               left: 55%
  182.               background-color: black
  183.               border: 1px
  184.           - type: state-label
  185.             entity: sensor.temp_sovrum_temperature
  186.             style:
  187.               top: 16%
  188.               left: 90%
  189.               background-color: black
  190.               border: 1px
  191.           - type: state-label
  192.             entity: sensor.birds_temperature
  193.             style:
  194.               top: 89%
  195.               left: 43%
  196.               background-color: black
  197.               border: 1px
  198.           - type: state-label
  199.             entity: sensor.kitchen_temperature
  200.             style:
  201.               top: 89%
  202.               left: 20%
  203.               background-color: black
  204.               border: 1px
  205.           - type: state-label
  206.             entity: sensor.lilla_sovrum_temperature
  207.             style:
  208.               top: 55%
  209.               left: 83%
  210.               background-color: black
  211.               border: 1px
  212.   - title: 1:a våningen
  213.     panel: true
  214.     cards:
  215.       - type: picture-elements
  216.         image: /local/bottom_floor.png
  217.         elements:
  218.           - type: state-label
  219.             entity: sensor.temp_gillestuga_temperature
  220.             style:
  221.               top: 41%
  222.               left: 43%
  223.               background-color: black
  224.               border: 1px
  225.           - type: state-icon
  226.             tap_action:
  227.               action: toggle
  228.             entity: light.color_temperature_light_1
  229.             style:
  230.               top: 46%
  231.               left: 43%
  232.           - type: state-label
  233.             entity: sensor.temp_gillestuga_temperature
  234.             style:
  235.               top: 41%
  236.               left: 43%
  237.               background-color: black
  238.               border: 1px
  239.           - type: state-label
  240.             entity: sensor.tvattstuga_temperature
  241.             style:
  242.               top: 82%
  243.               left: 36%
  244.               background-color: black
  245.               border: 1px
  246.           - type: state-label
  247.             entity: sensor.garaget_temperature
  248.             style:
  249.               top: 10%
  250.               left: 17%
  251.               background-color: black
  252.               border: 1px
  253.           - type: state-label
  254.             entity: sensor.oga_datarum_temperature
  255.             style:
  256.               top: 71%
  257.               left: 91%
  258.               background-color: black
  259.               border: 1px
  260.           - type: image
  261.             entity: lock.polycontrol_danalock_v3_btze_locked
  262.             tap_action:
  263.               action: toggle
  264.             state_image:
  265.               'locked': /local/last_sm.png
  266.               'unlocked': /local/oppen_sm.png
  267.             style:
  268.               top: 90%
  269.               left: 73%
  270.           - type: state-icon
  271.             entity: light.spot_hoger
  272.             tap_action:
  273.               action: toggle
  274.             style:
  275.               top: 79%
  276.               left: 85%
  277.           - type: state-icon
  278.             tap_action:
  279.               action: toggle
  280.             entity: light.spot_vanster
  281.             style:
  282.               top: 87%
  283.               left: 85%
  284.           - type: state-icon
  285.             tap_action:
  286.               action: toggle
  287.             entity: light.spot_i_ramp
  288.             style:
  289.               top: 83%
  290.               left: 85%
  291.           - type: icon
  292.             icon: mdi:lightbulb-on
  293.             tap_action: more-info
  294.             entity: light.datarummet
  295.             style:
  296.               top: 83%
  297.               left: 89%
  298.               background-color: black
  299.   - title: Surveillance
  300.     icon: mdi:cctv
  301.     panel: true
  302.     cards:
  303.       - type: custom:surveillance-card
  304.         thumb_interval: 5
  305.         update_interval: 0.5
  306.         cameras:
  307.           - entity: camera.framsidan
  308.             motion_entity: binary_sensor.framsidan_motion
  309.   - title: Temp
  310.     icon: mdi:temperature-celsius
  311.     panel: true
  312.     cards:
  313.       - type: vertical-stack
  314.         cards:
  315.           - type: horizontal-stack
  316.             cards:
  317.               - type: custom:gauge-card
  318.                 title: Temp Master
  319.                 entity: sensor.temp_sovrum_temperature
  320.                 min: 0
  321.                 max: 50
  322.                 severity:
  323.                   red: 25
  324.                   green: 20
  325.                   amber: 22
  326.               - type: custom:gauge-card
  327.                 title: Temp Fåglar
  328.                 entity: sensor.birds_temperature
  329.                 min: 0
  330.                 max: 50
  331.                 severity:
  332.                   red: 25
  333.                   green: 20
  334.                   amber: 22
  335.               - type: custom:gauge-card
  336.                 title: Temp Kök
  337.                 entity: sensor.kitchen_temperature
  338.                 min: 0
  339.                 max: 50
  340.                 severity:
  341.                   red: 25
  342.                   green: 20
  343.                   amber: 22
  344.               - type: custom:gauge-card
  345.                 title: Temp Lilla Sovrum
  346.                 entity: sensor.lilla_sovrum_temperature
  347.                 min: 0
  348.                 max: 50
  349.                 severity:
  350.                   red: 25
  351.                   green: 20
  352.                   amber: 22
  353.               - type: custom:gauge-card
  354.                 title: Temp Vardagsrum
  355.                 entity: sensor.netatmo_indoor_temperature
  356.                 min: 0
  357.                 max: 50
  358.                 severity:
  359.                   red: 25
  360.                   green: 20
  361.                   amber: 22
  362.           - type: horizontal-stack
  363.             cards:
  364.               - type: custom:gauge-card
  365.                 title: Temp Gästrummet
  366.                 entity: sensor.gastrummet_temperature
  367.                 min: 0
  368.                 max: 50
  369.                 severity:
  370.                   red: 30
  371.                   green: 20
  372.                   amber: 25
  373.               - type: custom:gauge-card
  374.                 title: Temp Datarum
  375.                 entity: sensor.oga_datarum_temperature
  376.                 min: 0
  377.                 max: 50
  378.                 severity:
  379.                   red: 30
  380.                   green: 20
  381.                   amber: 25
  382.               - type: custom:gauge-card
  383.                 title: Temp Gillestuga
  384.                 entity: sensor.temp_gillestuga_temperature
  385.                 min: 0
  386.                 max: 50
  387.                 severity:
  388.                   red: 25
  389.                   green: 20
  390.                   amber: 22
  391.               - type: custom:gauge-card
  392.                 title: Temp Tvättstuga
  393.                 entity: sensor.tvattstuga_temperature
  394.                 min: 0
  395.                 max: 50
  396.                 severity:
  397.                   red: 25
  398.                   green: 16
  399.                   amber: 22
  400.           - type: horizontal-stack
  401.             cards:
  402.               - type: custom:gauge-card
  403.                 title: Temp Garage
  404.                 entity: sensor.garaget_temperature
  405.                 min: 0
  406.                 max: 50
  407.                 severity:
  408.                   red: 22
  409.                   green: 5
  410.                   amber: 18
  411.               - type: custom:gauge-card
  412.                 title: Temp Ute
  413.                 entity: sensor.netatmo_hemmavaderute_temperature
  414.                 min: -40
  415.                 max: 50
  416.                 severity:
  417.                   red: 27
  418.                   green: 10
  419.                   amber: 20
  420.   - title: Temp
  421.     icon: mdi:air-conditioner
  422.     panel: true
  423.     cards:
  424.       - type: horizontal-stack
  425.         cards:
  426.           - type: entities
  427.             entities:
  428.              - climate.pump_entre
  429.           - type: thermostat
  430.             entity: climate.pump_uppe
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement