Sdomotica

LovelaceMeteo

Jan 28th, 2019
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 2.45 KB | None | 0 0
  1.  - icon: mdi:weather-cloudy
  2.     id: weather
  3.     title: Weather
  4.     cards:
  5.       - type: vertical-stack
  6.         cards:
  7.           - type: picture
  8.             image: https://www.meteo60.fr/satellites/animation-satellite-ir-france.gif
  9.           - type: picture
  10.             image: https://api.sat24.com/animated/IT/infraPolair/1/Central%20European%20Standard%20Time/
  11.           - type: picture
  12.             image: https://api.sat24.com/animated/IT/rainTMC/1/Central%20European%20Standard%20Time/
  13.        
  14.       - id: d2181b4d0f90426c9d65eefecd8449ec  # Automatically created id
  15.         type: weather-forecast
  16.         entity: weather.dark_sky
  17.  
  18.       - id: 3b915816fc004874858b492a28e2514d  # Automatically created id
  19.         type: entities
  20.         entities:
  21.           - entity: sensor.mitemp_bt_temperature
  22.             name: Temperatura Iterna
  23.           - entity: sensor.mitemp_bt_humidity
  24.             name: UmiditΓ  Interna
  25.           - entity: sensor.basilico_temperature
  26.             name: Temperatura Esterna
  27.  
  28.       - id: 6ec0b78353654e8a8a4aaf3d4b68b643  # Automatically created id
  29.         type: history-graph
  30.         title: Temperature
  31.         hours_to_show: 72
  32.         entities:
  33.          - sensor.mitemp_bt_temperature
  34.           - sensor.basilico_temperature
  35.  
  36.       - type: sensor
  37.         entity: sensor.basilico_temperature
  38.         name: Esterna
  39.         graph: line
  40.         hours_to_show: 72
  41.        
  42.       - type: sensor
  43.         entity: sensor.mitemp_bt_temperature
  44.         name: Interno        
  45.         graph: line
  46.        
  47. ###### Card con foto basilico ed alcune info
  48.       - id: 6d5402f677ba49da9e7291fff02e01fe  # Automatically created id
  49.         type: picture-elements
  50.         image: /local/basilico.jpg
  51.         elements:
  52.           - type: state-badge
  53.             entity: sensor.basilico_moisture
  54.             name: Basilico
  55.             style:
  56.               top: 27%
  57.               left: 10%
  58.               color: white
  59.               --ha-label-badge-font-size: 1em
  60.           - type: state-badge
  61.             entity: sensor.aromatiche_moisture
  62.             name: Aromatiche
  63.             style:
  64.               top: 27%
  65.               left: 88%
  66.               color: white
  67.               --ha-label-badge-font-size: 1em
  68.           - type: state-label
  69.             entity: sensor.basilico_temperature
  70.             style:
  71.               top: 15%
  72.               left: 50%
  73.               color: white
  74.               --ha-label-badge-font-size: 1em
Advertisement
Add Comment
Please, Sign In to add comment