Advertisement
asyscom

Untitled

Jan 25th, 2019
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 8.40 KB | None | 0 0
  1. views:
  2.   - title: main
  3.     icon: mdi:home-outline
  4.     cards:
  5.       - type: glance
  6.         title: Chi c'รจ in casa?
  7.         entities:
  8.           - entity: device_tracker.davide
  9.           - entity: device_tracker.sara
  10.           - entity: device_tracker.milo
  11.                
  12.    
  13.  
  14.    
  15.       - type: entities
  16.         title: Luci e Prese
  17.         show_state: false
  18.         entities:
  19.           - entity: switch.ciabatta_multi_sala
  20.             name: Ciabatta Camera da Letto
  21.           - entity: switch.ciabatta_pc_sala
  22.             name: Ciabatta PC
  23.           - entity: light.gateway_light_7811dce210d1
  24.             name: Luce Gateway
  25.          
  26.              
  27.          
  28.       - type: glance
  29.         title: Presenze e sensori
  30.         entities:
  31.           - entity: sun.sun
  32.           - entity: sensor.dati_stazione_meteo_davis
  33.             name: Fuori            
  34.           - entity: sensor.temperature_158d0002b549f4
  35.             name: Sala
  36.           - entity: sensor.humidity_158d0002b549f4
  37.             name: Sala
  38.           - entity: sensor.temperature_158d00027311ed
  39.             name: Cucina
  40.           - entity: sensor.humidity_158d00027311ed
  41.             name: Cucina
  42.           - entity: binary_sensor.door_window_sensor_158d00023ea03f
  43.             name: Ingresso
  44.           - entity: binary_sensor.door_window_sensor_158d0002ca3072
  45.             name: Cameretta
  46.           - entity: binary_sensor.door_window_sensor_158d0002ca2f59
  47.             name: Cucina          
  48.           - entity: binary_sensor.motion_sensor_158d00023d1793
  49.             name: Corridoio
  50.          
  51.          
  52.                      
  53.       - type: glance
  54.         title: Elettrodomestici
  55.         entities:
  56.           - entity: vacuum.ambrogio
  57.           - entity: switch.plug_158d0001bbcabf
  58.             name: Lavatrice
  59.            
  60.  
  61.      
  62.      
  63.        
  64.       #- type: glance
  65.       #  show_state: false
  66.       #  entities:
  67.       #    - entity: light.gateway_light_7811dce210d1
  68.       #     name: Luce Gateway
  69.  
  70.   #- title: Casa
  71.   #  id: Casa
  72.   #  badges:
  73.   #    - sun.sun
  74.   #    - device_tracker.davide
  75.   #    - device_tracker.sara
  76.   #    - device_tracker.milo
  77.   #    - sensor.temperature_158d0002b549f4
  78.   #    - sensor.humidity_158d0002b549f4
  79.   #    - sensor.dati_stazione_meteo_davis
  80.      
  81.   - title: Casa
  82.     panel: true
  83.     cards:
  84.       - type: picture-elements
  85.         image: /local/casa-ultima3.png      
  86.         elements:
  87.           - type: state-label
  88.             title: Temp Sala
  89.             entity: sensor.temperature_158d0002b549f4
  90.             style:
  91.               top: 68%
  92.               left: 40%
  93.               font-size: 12px
  94.               color: white
  95.               font-family: Verdana
  96.               font-style: oblique
  97.               font-weight: bold
  98.           - type: state-label
  99.             title: Umid Sala
  100.             entity: sensor.humidity_158d0002b549f4
  101.             style:
  102.               top: 69.5%
  103.               left: 39.8%
  104.               font-size: 12px
  105.               color: white
  106.               font-family: Verdana
  107.               font-style: oblique
  108.               font-weight: bold
  109.           - type: state-icon
  110.             title: Sens mov Sala
  111.             entity: binary_sensor.motion_sensor_158d00023d1793
  112.             style:
  113.               top: 40%
  114.               left: 52%
  115.               font-size: 15px
  116.           - type: state-icon
  117.             entity: light.gateway_light_7811dce210d1
  118.             style:
  119.               top: 49%
  120.               left: 48.5%
  121.              
  122.           - type: state-icon
  123.             title: Finestra cucina
  124.             entity: binary_sensor.door_window_sensor_158d0002ca2f59
  125.             style:
  126.               top: 39%
  127.               left: 19%
  128.               font-size: 15px
  129.           - type: state-label
  130.             entity: sensor.temperature_158d00027311ed
  131.             style:
  132.               title: Temp Cucina
  133.               top: 39.3%
  134.               left: 35.2%
  135.               font-size: 12px
  136.               color: white
  137.               font-family: Verdana
  138.               font-style: oblique
  139.               font-weight: bold
  140.           - type: state-label
  141.             entity: sensor.humidity_158d00027311ed
  142.             style:
  143.               title: Umid Cucina
  144.               top: 40.7%
  145.               left: 35%
  146.               font-size: 12px
  147.               color: white
  148.               font-family: Verdana
  149.               font-style: oblique
  150.               font-weight: bold
  151.           - type: state-icon
  152.             entity: binary_sensor.door_window_sensor_158d0002ca3072
  153.             style:
  154.               top: 55%
  155.               left: 82%
  156.           - type: state-icon
  157.             entity: binary_sensor.door_window_sensor_158d00023ea03f
  158.             style:
  159.               top: 83%
  160.               left: 57%
  161.           - type: state-icon
  162.             title: Ciabatta PC
  163.             entity: switch.ciabatta_pc_sala
  164.             style:
  165.               top: 59%
  166.               left: 44%
  167.               font-size: 15px
  168.           - type: state-icon
  169.             title: Ciabatta TV
  170.             entity: switch.ciabatta_multi_sala
  171.             style:
  172.               top: 30%
  173.               left: 53%
  174.               font-size: 15px
  175.           - type: state-badge
  176.             entity: device_tracker.davide
  177.             style:
  178.               top: 29%
  179.               left: 80%
  180.               font-size: 15px
  181.           - type: state-badge
  182.             entity: device_tracker.sara
  183.             style:
  184.               top: 35%
  185.               left: 15%
  186.               font-size: 15px
  187.           - type: state-badge
  188.             entity: device_tracker.milo
  189.             style:
  190.               top: 55%
  191.               left: 85%
  192.               font-size: 15px
  193.           - type: state-label
  194.             prefix: Temp
  195.             entity: sensor.dati_stazione_meteo_davis
  196.             style:
  197.               top: 55%
  198.               left: 15%
  199.               color: black
  200.               font-family: Verdana
  201.               font-style: oblique
  202.               font-weight: bold
  203.           - type: state-icon
  204.             entity: vacuum.ambrogio
  205.             style:
  206.               top: 83%
  207.               left: 31%
  208.               color: white
  209.           - type: state-label
  210.             entity: vacuum.ambrogio
  211.             style:
  212.               top: 75%
  213.               left: 26%
  214.               color: white
  215.           - type: state-icon
  216.             entity: switch.plug_158d0001bbcabf
  217.             style:
  218.               top: 54%
  219.               left: 32%
  220.               color: white
  221.           - type: state-label
  222.             prefix: Benzina
  223.             entity: sensor.enercoop_la_spezia_c_o_cc_le_terrazze_benzina_2
  224.             style:
  225.               top: 45%
  226.               left: 85%
  227.               color: black
  228.               font-family: Verdana
  229.               font-style: oblique
  230.               font-weight: bold
  231.                              
  232.  
  233.          
  234.   - title: Map
  235.     panel: true
  236.     cards:
  237.       - type: map
  238.         entities:
  239.          - device_tracker.davide
  240.           - device_tracker.sara
  241.           - device_tracker.milo
  242.  
  243.  
  244.        
  245.   - title: Meteo
  246.     panel: true
  247.     type: vertical-stack
  248.     cards:
  249.       - type: iframe
  250.         url: https://embed.windy.com/embed2.html?lat=43.672&lon=10.514&zoom=8&level=surface&overlay=wind&menu=&message=&marker=&calendar=&pressure=&type=map&location=coordinates&detail=&detailLat=43.178&detailLon=9.842&metricWind=default&metricTemp=default&radarRange=-1
  251.         aspect_ratio: 50%
  252.        
  253.       - type: iframe
  254.         url: https://www.ilmeteo.it/altro/radar-liguria.gif
  255.         aspect_ratio: 50%        
  256.  
  257.        
  258.   - title: Benzina
  259.     panel: true
  260.     cards:
  261.       - type: glance
  262.         entities:
  263.           - entity: sensor.enercoop_la_spezia_c_o_cc_le_terrazze_benzina
  264.             name: Benzina
  265.           - entity: sensor.enercoop_la_spezia_c_o_cc_le_terrazze_benzina_2
  266.             name: Benzina con sconto socio coop
  267.           - entity: sensor.enercoop_la_spezia_c_o_cc_le_terrazze_diesel
  268.             name: Diesel
  269.           - entity: sensor.enercoop_la_spezia_c_o_cc_le_terrazze_diesel_2
  270.             name: Diesel con sconto socio coop
  271.            
  272.   - title: Server
  273.     icon: mdi:server
  274.     panel: true
  275.     cards:
  276.       - type: glance
  277.         entities:
  278.          - sensor.cpu_temp
  279.           - sensor.ssl_certificate_expiry
  280.           - sensor.uptime
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement