Advertisement
Sdomotica

Lovelace

Jul 24th, 2018
2,889
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 6.29 KB | None | 0 0
  1. title: Sdomotica Chiasso
  2.    
  3. views:
  4. ################## Primo tab
  5.   - icon: mdi:star
  6.     id: start
  7.     title: Favoriti
  8.     theme: night
  9.     cards:
  10.       - type: media-control
  11.         entity: media_player.soggiorno
  12.        
  13.       - type: entities
  14.         entities:
  15.          - input_select.radio_station
  16.           - input_select.radio_speakers
  17.           - input_number.radio_volume
  18.           - input_boolean.radio_play
  19.          
  20.       - type: entities
  21.         title: Ventilatore
  22.         show_header_toggle: false
  23.         entities:
  24.           - entity: fan.lounge_fan
  25.             name: Ventilatore
  26.           - entity: script.lounge_fan_on
  27.             name: Velocità
  28.           - entity: script.lounge_fan_oscillate
  29.             name: Oscilla
  30.            
  31.       - type: entities
  32.         title: Luci
  33.         show_header_toggle: true
  34.         entities:
  35.          - light.camera_da_letto
  36.           - light.soggiorno
  37.           - light.plafoniera_camera_da_letto
  38.          
  39.       - type: entities
  40.         entities:
  41.           - entity: sensor.mitemp_bt_temperature
  42.             name: Temperatura Iterna
  43.           - entity: sensor.mitemp_bt_humidity
  44.             name: Umidità Interna
  45.           - entity: sensor.basilico_temperature
  46.             name: Temperatura Esterna
  47.           - entity: climate.sognidoro            
  48.             name: Condizionatore portatile
  49.           - entity: switch.ac_comfee_swing            
  50.             name: Condizionatore Oscilla
  51.            
  52.       - type: plant-status
  53.         title: Aromatiche
  54.         entity: plant.aromatiche          
  55.       - type: plant-status
  56.         title: Basilico
  57.         entity: plant.basilico                  
  58.  
  59.       - type: vertical-stack
  60.         cards:
  61.           - type: picture-entity
  62.             entity: light.soggiorno
  63.             show_info: false
  64.             tap_action: toggle
  65.             state_image:
  66.               "on": /local/2/soggiorno_on.jpg
  67.               "off": /local/2/soggiorno_off.jpg
  68.           - type: entities
  69.             show_header_toggle: false
  70.             entities:
  71.             - light.soggiorno              
  72.  
  73.  
  74.       - type: vertical-stack
  75.         cards:
  76.           - type: picture-entity
  77.             entity: light.plafoniera_camera_da_letto
  78.             show_info: false
  79.             tap_action: toggle
  80.             state_image:
  81.               "on": /local/2/camera2_on.jpg
  82.               "off": /local/2/camera2_off.jpg
  83.           - type: entities
  84.             show_header_toggle: false
  85.             entities:
  86.              - light.plafoniera_camera_da_letto              
  87.              
  88.        - type: vertical-stack
  89.         cards:
  90.           - type: picture-entity
  91.             entity: light.camera_da_letto
  92.             show_info: false
  93.             tap_action: toggle
  94.             state_image:
  95.               "on": /local/2/camera_on.jpg
  96.               "off": /local/2/camera_off.jpg
  97.           - type: entities
  98.             show_header_toggle: false
  99.             entities:
  100.              - light.camera_da_letto              
  101.              
  102.              
  103.       - type: horizontal-stack
  104.         cards:
  105.           - type: picture-entity
  106.             entity: light.soggiorno
  107.             show_info: false
  108.             tap_action: toggle
  109.             state_image:
  110.               "on": /local/3/soggiorno_on.jpg
  111.               "off": /local/3/soggiorno_off.jpg
  112.              
  113.           - type: picture-entity
  114.             entity: light.camera_da_letto
  115.             show_info: false          
  116.             tap_action: toggle        
  117.             state_image:
  118.               "on": /local/3/camera_on.jpg
  119.               "off": /local/3/camera_off.jpg
  120.          
  121.           - type: picture-entity
  122.             entity: light.plafoniera_camera_da_letto
  123.             show_info: false          
  124.             tap_action: toggle        
  125.             state_image:
  126.               "on": /local/3/camera2_on.jpg
  127.               "off": /local/3/camera2_off.jpg    
  128.       - type: markdown
  129.         content: >
  130.          ## Test Sdomotica
  131.  
  132.  
  133. ################## Pagina meteo
  134.  
  135.  
  136.   - icon: mdi:weather-cloudy
  137.     id: weather
  138.     title: Weather
  139.     garage_door_tilt_sensor_alarm_level: Weather
  140.     cards:
  141.       - type: "custom:weather-card"
  142.         entity_weather: weather.chiasso
  143.         entity_sun: sun.sun              
  144.              
  145.       - type: entities
  146.         entities:
  147.           - entity: sensor.mitemp_bt_temperature
  148.             name: Temperatura Iterna
  149.           - entity: sensor.mitemp_bt_humidity
  150.             name: Umidità Interna
  151.           - entity: sensor.basilico_temperature
  152.             name: Temperatura Esterna
  153.          
  154.       - type: history-graph
  155.         title: 'Temperature'
  156.         hours_to_show: 72
  157.         entities:
  158.          - sensor.mitemp_bt_temperature
  159.           - sensor.basilico_temperature
  160.  
  161.  
  162. ##################  Webradio              
  163.   - icon: mdi:music
  164.     id: musica
  165.     title: WebRadio
  166.     cards:
  167.       - type: entities
  168.         title: WebRadio
  169.         show_header_toggle: false
  170.         entities:
  171.          - input_text.radio_1_ip_address
  172.           - input_text.radio_2_ip_address
  173.           - script.urlradio1
  174.           - script.urlradio2
  175.       - type: media-control
  176.         entity: media_player.soggiorno
  177.  
  178. ##################  VuPlus
  179.   - icon: mdi:television-classic
  180.     id: television
  181.     title: Televisione
  182.     cards:            
  183.       - type: vertical-stack
  184.         cards:
  185.           - type: picture-entity
  186.             camera_image: camera.vuplus
  187.             entity: camera.vuplus
  188.             show_info: false
  189.           - type: media-control
  190.             entity: media_player.vuplus
  191.  
  192. ##################  Spotify
  193.   - icon: mdi:spotify              
  194.     id: spotify
  195.     title: Spotify
  196.     cards:
  197.       - type: media-control
  198.         entity: media_player.spotify
  199.       - type: entities
  200.         entities:
  201.          - input_select.spotify_playlist
  202.           - input_select.spotify_source
  203.           - script.spotify_music
  204.           - input_number.spotify_volume
  205.           - input_boolean.spotify_shuffle              
  206.  
  207.       - type: entities
  208.         entities:
  209.          - remote.harmony_chiasso
  210.           - script.harmony1
  211.           - script.harmony2
  212.           - script.harmony3
  213.           - script.harmony4
  214.           - script.harmony5
  215.           - script.harmony6
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement