Bez popisu
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ui-lovelace.yaml 4.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. title: Tannenhof
  2. resources:
  3. - url: /local/circle-sensor-card.js?v=0
  4. type: module
  5. - url: /local/surveillance-card.js?v=0
  6. type: module
  7. views:
  8. # View tab title.
  9. - title: Home
  10. # Optional unique id for direct access /lovelace/${id}
  11. id: home
  12. # Optional background (overwrites the global background).
  13. background: radial-gradient(crimson, skyblue)
  14. # Each view can have a different theme applied. Theme should be defined in the frontend.
  15. theme: dark-mode
  16. cards:
  17. - id: 698b0d61c8d64ee9a0b762080adbd009 # Automatically created id
  18. type: weather-forecast
  19. entity: weather.weather
  20. - id: b900d5426e5d465bb4b5d92e590da361 # Automatically created id
  21. type: entities
  22. title: Joshs Room
  23. entities:
  24. - sensor.dht_sensor_temperature
  25. - sensor.dht_sensor_humidity
  26. - group.lights
  27. - cover.blinds
  28. - type: section
  29. label: Music
  30. - media_player.spotify
  31. # The markdown card will render markdown text.
  32. - type: horizontal-stack
  33. cards:
  34. - type: history-graph
  35. title: 'My Graph'
  36. entities:
  37. - device_tracker.josh
  38. - device_tracker.david
  39. - device_tracker.margit
  40. - device_tracker.meinrad
  41. - type: entity-filter
  42. entities:
  43. - device_tracker.josh
  44. - device_tracker.david
  45. - device_tracker.margit
  46. - device_tracker.meinrad
  47. state_filter:
  48. - "home"
  49. - type: horizontal-stack
  50. cards:
  51. - type: light
  52. entity: light.led_strip
  53. - type: light
  54. entity: light.room_light
  55. - type: sensor
  56. entity: sensor.dht_sensor_temperature
  57. name: Temperature
  58. height: 75
  59. line_color: "#3498db"
  60. - type: horizontal-stack
  61. cards:
  62. - type: sensor
  63. entity: sensor.netdata_cpu
  64. name: Server CPU
  65. height: 75
  66. line_color: "#B90000"
  67. - type: gauge
  68. title: Server CPU
  69. entity: sensor.netdata_cpu
  70. - type: conditional
  71. conditions:
  72. - entity: light.bed_light
  73. state: "on"
  74. card:
  75. type: horizontal-stack
  76. cards:
  77. - type: gauge
  78. title: Printer Hotend
  79. entity: sensor.octoprint_actual_tool0_temp
  80. severity:
  81. red: 50
  82. green: 0
  83. amber: 40
  84. - type: gauge
  85. title: Printer Hotend
  86. entity: sensor.octoprint_actual_bed_temp
  87. severity:
  88. red: 50
  89. green: 0
  90. amber: 40
  91. - title: Weather
  92. id: weather
  93. # Optional background (overwrites the global background).
  94. background: radial-gradient(crimson, skyblue)
  95. # Each view can have a different theme applied. Theme should be defined in the frontend.
  96. theme: dark-mode
  97. cards:
  98. - type: iframe
  99. url: https://www.rainviewer.com/map.html?loc=47.6739,9.1983,10&oFa=0&oC=1&oU=0&oCS=1&oF=0&oAP=0&rmt=4&c=1&o=70&lm=1&th=1
  100. aspect_ratio: 100%
  101. - type: iframe
  102. url: https://earth.nullschool.net/#current/wind/surface/level/equirectangular=-354.86,46.31,1647/loc=9.198,47.673
  103. - title: Automations
  104. id: automations
  105. # Optional background (overwrites the global background).
  106. background: radial-gradient(crimson, skyblue)
  107. # Each view can have a different theme applied. Theme should be defined in the frontend.
  108. theme: dark-mode
  109. cards:
  110. - type: entities
  111. title: Automations
  112. entities:
  113. - automation.enable_subwoofer_if_desktop_plays_music_from_spotify
  114. - automation.hass_startup_notification
  115. - automation.notify_about_phone_state
  116. - automation.send_notification_if_margit_gets_home
  117. - automation.turn_off_light_10_minutes_after_last_movement
  118. - automation.turn_off_subwoofer_when_pc_is_off
  119. - automation.turn_on_light_when_there_is_movement
  120. - automation.update_available_notifications
  121. - automation.welcome_josh_if_he_gets_home