Advertisement
Naijaping

homekit

Apr 6th, 2021
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. background: var(--background-image)
  2. custom_header:
  3. active_tab_color: yellow
  4. background: 'rgba(155, 155, 155, 0.25)'
  5. compact_mode: true
  6. sidebar:
  7. style: |
  8. :host {
  9. --sidebar-background: "center / cover no-repeat fixed url('/local/homekit-bg-light-blue.jpg')";
  10. --sidebar-text-color: #000;
  11. --face-color: #FFF;
  12. --face-border-color: #FFF;
  13. --clock-hands-color: #000;
  14. --clock-seconds-hand-color: #FF4B3E;
  15. --clock-middle-background: #FFF;
  16. --clock-middle-border: #000;
  17. }
  18. bottomCard:
  19. type: 'custom:mini-graph-card'
  20. cardOptions:
  21. color_thresholds:
  22. - color: '#4dd2ff'
  23. value: 0
  24. - color: '#66ff66'
  25. value: 15
  26. - color: '#ffff1a'
  27. valure: 23
  28. - color: '#ffa31a'
  29. value: 28
  30. - color: '#ff1a1a'
  31. value: 32
  32. entities:
  33. - sensor.daikin_sala_inside_temperature
  34. - sensor.daikin_sala_outside_temperature
  35. icon: 'mdi:home-thermometer-outline'
  36. show:
  37. icon: true
  38. legend: false
  39. name: false
  40. date: true
  41. digitalClock: true
  42. sidebarMenu:
  43. - action: navigate
  44. active: true
  45. name: Casa
  46. navigation_path: /lovelace/casa
  47. - action: navigate
  48. active: true
  49. name: Media
  50. navigation_path: /lovelace/media
  51. - action: navigate
  52. active: true
  53. name: Sistema
  54. navigation_path: /lovelace/ui-sistema
  55. - action: navigate
  56. active: true
  57. name: Shelly
  58. navigation_path: /lovelace/devices
  59. template: |
  60. <li>
  61. {% if now().hour < 5 %} Buona Notte {{'\U0001F634'}}
  62. {% elif now().hour < 12 %} Buongiorno {{'\u2615\uFE0F'}}
  63. {% elif now().hour < 18 %} Buon Pomeriggio {{'\U0001F44B\U0001F3FB'}}
  64. {% else %} Buona Sera {{'\U0001F44B\U0001F3FB'}}{% endif %}
  65. </li>
  66. title: ' '
  67. width:
  68. desktop: 20
  69. mobile: 0
  70. tablet: 25
  71. title: Casa
  72. views:
  73. - badges: []
  74. cards:
  75. - enableColumns: true
  76. home: false
  77. rows:
  78. - columns:
  79. - column: 1
  80. entities:
  81. - entities:
  82. - card: weather-forecast
  83. cardOptions:
  84. entity: weather.home
  85. cardStyle: |
  86. ha-card {
  87. padding: 5px!important;
  88. display: flex!important;
  89. flex-direction: column!important;
  90. background: transparent!important;
  91. box-shadow: none!important;
  92. border-radius:0!important;
  93. }
  94. .content {
  95. display: flex!important;
  96. flex-direction: row!important;
  97. }
  98. .icon-image {
  99. min-width: auto!important;
  100. }
  101. .icon-image > * {
  102. height: 32px!important;
  103. flex: 0 0 32px!important;
  104. }
  105. .info .name-state {
  106. font-weight: 500;
  107. }
  108. .info .name-state .state {
  109. font-size:14px!important;
  110. text-align:right;
  111. }
  112. .info .name-state .name {
  113. font-size:14px!important;
  114. }
  115. .info .temp-attribute {
  116. width:100%;
  117. font-weight: 500;
  118. }
  119. .info .temp-attribute .temp {
  120. font-size: 16px!important;
  121. }
  122. .info .temp-attribute .temp span {
  123. font-size: 14px!important;
  124. }
  125. .forecast {
  126. font-size: 10px!important;
  127. padding-top: 5px!important;
  128. }
  129. .forecast-image-icon {
  130. padding:0!important;
  131. }
  132. .forecast-image-icon > * {
  133. width:20px!important;
  134. height:20px!important;
  135. margin: 0 auto!important;
  136. }
  137. .forecast .temp {
  138. margin-top:0!important;
  139. font-size:12px!important;
  140. }
  141. .forecast .templow {
  142. display:none;
  143. }
  144. noPadding: true
  145. wider: true
  146. title: Meteo
  147. tilesOnRow: 3
  148. - column: 2
  149. entities:
  150. - entities:
  151. - entity: person.andrea
  152. image: /local/propic/andre.jpg
  153. offImage: /local/propic/andregr.jpg
  154. offStates:
  155. - Lavoro Andre
  156. - not_home
  157. - entity: person.mary
  158. image: /local/propic/mary.jpg
  159. offImage: /local/propic/marygr.jpg
  160. offStates:
  161. - not_home
  162. title: In Casa
  163. tileOnRow: 2
  164. - column: 3
  165. entities:
  166. - entities:
  167. - entity: scene.esco_di_casa
  168. name: Esco
  169. title: Scene
  170. tileOnRow: 2
  171. row: 1
  172. - columns:
  173. - column: 1
  174. entities:
  175. - entities:
  176. - double_tap_action:
  177. action: popup
  178. entity: light.55016765a4cf12b1c2e5
  179. icon: 'mdi:ceiling-light'
  180. popup:
  181. actions:
  182. - color: '#FDCA64'
  183. name: Calda
  184. service: light.turn_on
  185. service_data:
  186. brightness_pct: 80
  187. entity_id: light.55016765a4cf12b1c2e5
  188. kelvin: 3000
  189. - color: '#FFE7C0'
  190. name: Normale
  191. service: light.turn_on
  192. service_data:
  193. brightness_pct: 80
  194. entity_id: light.55016765a4cf12b1c2e5
  195. kelvin: 5000
  196. - color: '#8BCBDD'
  197. name: Fredda
  198. service: light.turn_on
  199. service_data:
  200. brightness_pct: 80
  201. entity_id: light.55016765a4cf12b1c2e5
  202. kelvin: 6500
  203. brightnessHeight: 350px
  204. brightnessWidth: 130px
  205. scenesInARow: 3
  206. switchHeight: 300px
  207. switchWidth: 110px
  208. type: 'custom:light-popup-card'
  209. slider: true
  210. - double_tap_action:
  211. action: popup
  212. entity: light.55016765a4cf12b1c813
  213. icon: 'mdi:ceiling-light'
  214. popup:
  215. actions:
  216. - color: '#FDCA64'
  217. name: Calda
  218. service: light.turn_on
  219. service_data:
  220. brightness_pct: 80
  221. entity_id: light.55016765a4cf12b1c813
  222. kelvin: 3000
  223. - color: '#FFE7C0'
  224. name: Normale
  225. service: light.turn_on
  226. service_data:
  227. brightness_pct: 80
  228. entity_id: light.55016765a4cf12b1c813
  229. kelvin: 5000
  230. - color: '#8BCBDD'
  231. name: Fredda
  232. service: light.turn_on
  233. service_data:
  234. brightness_pct: 80
  235. entity_id: light.55016765a4cf12b1c813
  236. kelvin: 6500
  237. brightnessHeight: 350px
  238. brightnessWidth: 130px
  239. scenesInARow: 2
  240. switchHeight: 300px
  241. switchWidth: 110px
  242. type: 'custom:light-popup-card'
  243. - entity: light.led_scale
  244. icon: 'mdi:led-strip-variant'
  245. - entity: media_player.tv_sala
  246. tap_action:
  247. action: more-info
  248. entity: media_player.tv_sala
  249. - entity: climate.daikin_sala
  250. tap_action:
  251. action: more-info
  252. entity: climate.daikin_sala
  253. - entity: switch.ciabatta_tv_mss425f_main_channel
  254. icon: 'mdi:power-plug-outline'
  255. name: Ciabatta TV
  256. popup:
  257. buttons:
  258. - color: '#FFF'
  259. icon: 'mdi:toggle-switch'
  260. icon_color: 'rgba(255,255,255,1)'
  261. name: 'ON'
  262. service: switch.on
  263. service_data:
  264. entity_id: switch.ciabatta_tv_mss425f_lampada_tv
  265. value: 'ON'
  266. - color: '#FFF'
  267. icon: 'mdi:toggle-switch-off'
  268. icon_color: 'rgba(255,255,255,1)'
  269. name: 'OFF'
  270. service: switch.off
  271. service_data:
  272. entity_id: switch.ciabatta_tv_mss425f_lampada_tv
  273. value: 'OFF'
  274. entities:
  275. - switch.ciabatta_tv_mss425f_router_sala
  276. - switch.ciabatta_tv_mss425f_lampada_tv
  277. - switch.ciabatta_tv_mss425f_led_tv
  278. - switch.ciabatta_tv_mss425f_usb
  279. entity_value_path: state
  280. noActiveState: '-'
  281. type: 'custom:switch-popup-card'
  282. tap_action:
  283. action: none
  284. - entity: light.luce_giardino
  285. icon: 'mdi:coach-lamp'
  286. name: Luce Giardino
  287. - entity: switch.78677454f4cfa247e15b
  288. icon: 'mdi:gate'
  289. title: Sala
  290. tileOnRow: 4
  291. - column: 2
  292. entities:
  293. - entities:
  294. - entity: light.faretti
  295. icon: 'mdi:string-lights'
  296. - entity: light.led_cucina
  297. icon: 'mdi:led-strip-variant'
  298. name: Led Cucina
  299. - entity: switch.46021836807d3a395198
  300. icon: 'mdi:lightning-bolt-outline'
  301. title: Cucina
  302. tileOnRow: 2
  303. row: 2
  304. - columns:
  305. - column: 1
  306. entities:
  307. - entities:
  308. - double_tap_action:
  309. action: more-info
  310. entity: input_select.pcoptions
  311. entity: sensor.pc
  312. hold_action:
  313. action: more-info
  314. entity: input_select.pcoptions
  315. icon: 'mdi:windows'
  316. name: PC Studio
  317. offStates:
  318. - Offline
  319. tap_action:
  320. action: more-info
  321. entity: switch.wake_on_lan
  322. wider: true
  323. - entity: sensor.ipad
  324. icon: 'mdi:apple'
  325. offStates:
  326. - Offline
  327. - entity: sensor.macbook
  328. icon: 'mdi:apple'
  329. offStates:
  330. - Offline
  331. - entity: climate.daikin_studio
  332. tap_action:
  333. action: more-info
  334. entity: climate.daikin_studio
  335. - entity: light.luce_studio
  336. icon: 'mdi:spotlight-beam'
  337. title: Studio
  338. tileOnRow: 4
  339. - column: 2
  340. entities:
  341. - entities:
  342. - entity: light.luce_camera
  343. icon: 'mdi:string-lights'
  344. - entity: light.luce_bagno
  345. icon: 'mdi:ceiling-light'
  346. - entity: climate.daikin_camera
  347. tap_action:
  348. action: more-info
  349. entity: climate.daikin_camera
  350. title: Camera&Bagno
  351. tileOnRow: 2
  352. row: 3
  353. rules: >
  354. <li>Temperatura Sala {{states('sensor.daikin_sala_inside_temperature')
  355. |round(1) }} °C</li>
  356. statePositionTop: true
  357. tileHoldAnimation: true
  358. title: Casa
  359. titleColor: '#fff'
  360. type: 'custom:homekit-card'
  361. useBrightness: false
  362. useTemperature: false
  363. icon: 'mdi:home-circle-outline'
  364. panel: true
  365. path: casa
  366. theme: ios-light-mode-light-blue-alternative
  367. title: CASA
  368. - badges: []
  369. cards:
  370. - enableColumns: true
  371. home: false
  372. masonry: true
  373. rows:
  374. - columns:
  375. - column: 1
  376. entities:
  377. - entities:
  378. - card: 'custom:mini-media-player'
  379. cardOptions:
  380. artwork: full-cover
  381. entity: media_player.appletv_soggiorno
  382. hide:
  383. controls: false
  384. icon: true
  385. name: false
  386. power: false
  387. progress: false
  388. runtime: false
  389. source: true
  390. volume: false
  391. name: Apple TV
  392. cardStyle: |
  393. ha-card {
  394. height: 100%;
  395. background: none !important;
  396. box-shadow: none !important;
  397. position: relative;
  398. font-size: 0.5vw !important;
  399. image
  400. }
  401. ha-card{
  402. overflow: hidden !important;
  403. }
  404. :host #primaryProgress{
  405. background: #474A52 !important;
  406. display: flex !important;
  407. height: 100%;
  408. }
  409. higher: true
  410. higherSize: 3
  411. hold_action:
  412. action: popup
  413. entity: media_player.appletv_soggiorno
  414. noPadding: true
  415. popup:
  416. actions:
  417. - icon: 'mdi:skip-previous'
  418. name: previous
  419. service: media_player.media_previous_track
  420. service_data:
  421. entity_id: this
  422. - icon: 'mdi:play-pause'
  423. name: play/pause
  424. service: media_player.media_play_pause
  425. service_data:
  426. entity_id: this
  427. - icon: 'mdi:skip-next'
  428. name: next
  429. service: media_player.media_next_track
  430. service_data:
  431. entity_id: this
  432. settings: true
  433. type: 'custom:media_player-popup-card'
  434. wider: true
  435. widerSize: 3
  436. title: Media
  437. tileOnRow: 2
  438. row: 1
  439. statePositionTop: true
  440. style: |
  441. homekit-button[data-ent*="hideThis"] {
  442. visibility: hidden;
  443. }
  444. tileHoldAnimation: true
  445. title: Sistema
  446. titleColor: '#FFF'
  447. type: 'custom:homekit-card'
  448. useBrightness: false
  449. useTemperature: false
  450. icon: 'mdi:youtube'
  451. panel: true
  452. path: media
  453. title: Media
  454. - badges: []
  455. cards:
  456. - enableColumns: true
  457. home: false
  458. masonry: true
  459. rows:
  460. - columns:
  461. - column: 1
  462. entities:
  463. - entities:
  464. - custom: Riavvia Home Assistant
  465. halfheight: true
  466. icon: 'mdi:power-settings'
  467. name: Riavvia HomeAssistant
  468. tap_action:
  469. action: call-service
  470. service: homeassistant.restart
  471. wider: true
  472. - custom: Ricarica Automazioni
  473. halfheight: true
  474. icon: 'mdi:reload'
  475. name: Ricarica Automazioni
  476. tap_action:
  477. action: call-service
  478. service: automation.reload
  479. wider: true
  480. - entity: sensor.hass_version_installed
  481. icon: 'mdi:home-assistant'
  482. name: HA Core Version
  483. - entity: sensor.hass_version_latest
  484. name: HA Core Latest Version
  485. - entity: sensor.hacs
  486. name: Hacs
  487. - entity: sensor.snapshot_backup
  488. icon: 'mdi:cloud-upload'
  489. name: Snapshot State
  490. - entity: sensor.last_boot
  491. name: Rasp Pi 4 Last Boot
  492. wider: true
  493. title: Hassio
  494. tileOnRow: 2
  495. - column: 2
  496. entities:
  497. - entities:
  498. - card: 'custom:mini-graph-card'
  499. cardOptions:
  500. color_type: card
  501. entities:
  502. - sensor.raspberry_temp
  503. hours_to_show: 24
  504. name: Raspy CPU Temp
  505. points_per_hour: 0.5
  506. show:
  507. extrema: true
  508. labels: false
  509. cardStyle: |
  510.  
  511. color_type: card
  512. .states {
  513. padding: 0;
  514. }
  515. higher: true
  516. wider: true
  517. - entity: sensor.pi_hole_dns_queries_today
  518. halfheight: true
  519. hideState: true
  520. higher: false
  521. name: DNS Queries
  522. wider: true
  523. - entity: sensor.omv_uptime
  524. halfheight: true
  525. hideState: true
  526. higher: false
  527. name: NAS Uptime
  528. wider: true
  529. title: System Monitor
  530. tileOnRow: 2
  531. - column: 3
  532. entities:
  533. - entities:
  534. - card: 'custom:bar-card'
  535. cardOptions:
  536. direction: up
  537. entities:
  538. - sensor.processor_use
  539. entity_row: false
  540. height: 200px
  541. icon: 'mdi:memory'
  542. max: 100
  543. name: CPU
  544. width: 100%
  545. higher: true
  546. wider: false
  547. - card: 'custom:bar-card'
  548. cardOptions:
  549. direction: up
  550. entities:
  551. - sensor.memory_use_percent
  552. entity_row: false
  553. height: 200px
  554. icon: 'mdi:database'
  555. max: 100
  556. name: RAM
  557. width: 100%
  558. higher: true
  559. wider: false
  560. - card: 'custom:bar-card'
  561. cardOptions:
  562. direction: up
  563. entities:
  564. - sensor.disk_use_percent
  565. entity_row: false
  566. height: 200px
  567. icon: 'mdi:memory'
  568. max: 100
  569. name: SD
  570. width: 100%
  571. higher: true
  572. wider: false
  573. - card: 'custom:bar-card'
  574. cardOptions:
  575. direction: up
  576. entities:
  577. - sensor.pi_hole_ads_percentage_blocked_today
  578. entity_row: false
  579. height: 200px
  580. max: 100
  581. name: ADS
  582. width: 100%
  583. higher: true
  584. wider: false
  585. - custom: empty
  586. name: hideThis
  587. - card: 'custom:bar-card'
  588. cardOptions:
  589. direction: up
  590. entities:
  591. - sensor.omv_nas
  592. entity_row: false
  593. height: 200px
  594. icon: 'mdi:harddisk'
  595. max: 100
  596. name: NAS
  597. width: 100%
  598. higher: true
  599. wider: false
  600. title: .
  601. tileOnRow: 3
  602. row: 1
  603. statePositionTop: true
  604. style: |
  605. homekit-button[data-ent*="hideThis"] {
  606. visibility: hidden;
  607. }
  608. title: Sistema
  609. titleColor: '#FFF'
  610. type: 'custom:homekit-card'
  611. useBrightness: false
  612. useTemperature: false
  613. icon: 'mdi:server'
  614. panel: true
  615. path: ui-sistema
  616. theme: ios-light-mode-light-blue-alternative
  617. title: UI Sistema
  618. visible:
  619. - user: 34ed6f708bb241258e3191be935470e3
  620. - badges: []
  621. cards:
  622. - enableColumns: true
  623. home: false
  624. rows:
  625. - columns:
  626. - column: 1
  627. entities:
  628. - entities:
  629. - entity: sensor.shelly_firmware_version
  630. halfheight: true
  631. hideState: true
  632. icon: 'mdi:script'
  633. wider: true
  634. - entity: sensor.shelly_new_firmware
  635. halfheight: true
  636. hideState: true
  637. icon: 'mdi:alert-decagram'
  638. offStates:
  639. - 'False'
  640. wider: true
  641. - custom: FW Upgrade
  642. halfheight: true
  643. hideState: true
  644. icon: 'mdi:update'
  645. name: Launch FW Upgrade
  646. tap_action:
  647. action: call-service
  648. service: script.update_shelly
  649. wider: true
  650. title: Shelly FW
  651. tileOnRow: 10
  652. row: 1
  653. - columns:
  654. - column: 1
  655. entities:
  656. - entities:
  657. - entity: sensor.shelly_scale_stato
  658. halfheight: true
  659. hideState: true
  660. icon: 'mdi:memory'
  661. name: ' '
  662. slider: false
  663. - entity: sensor.shelly_scale_segnale
  664. halfheight: true
  665. hideState: true
  666. icon: 'mdi:wifi'
  667. name: ' '
  668. title: Shelly Scale
  669. tileOnRow: 2
  670. - column: 2
  671. entities:
  672. - entities:
  673. - entity: sensor.shelly_faretti_stato
  674. halfheight: true
  675. hideState: true
  676. icon: 'mdi:memory'
  677. name: ' '
  678. - entity: sensor.shelly_faretti_segnale
  679. halfheight: true
  680. hideState: true
  681. icon: 'mdi:wifi'
  682. name: ' '
  683. title: Shelly Faretti
  684. tileOnRow: 2
  685. - column: 3
  686. entities:
  687. - entities:
  688. - entity: sensor.shelly_led_cucina_stato
  689. halfheight: true
  690. hideState: true
  691. icon: 'mdi:memory'
  692. name: ' '
  693. - entity: sensor.shelly_led_cucina_segnale
  694. halfheight: true
  695. hideState: true
  696. icon: 'mdi:wifi'
  697. name: ' '
  698. title: Shelly Led Cucina
  699. tileOnRow: 2
  700. row: 2
  701. - columns:
  702. - column: 1
  703. entities:
  704. - entities:
  705. - entity: sensor.shelly_bagno_stato
  706. halfheight: true
  707. hideState: true
  708. icon: 'mdi:memory'
  709. name: ' '
  710. - entity: sensor.shelly_bagno_segnale
  711. halfheight: true
  712. hideState: true
  713. icon: 'mdi:wifi'
  714. name: ' '
  715. title: Shelly Bagno
  716. tileOnRow: 2
  717. - column: 2
  718. entities:
  719. - entities:
  720. - entity: sensor.shelly_camera_stato
  721. halfheight: true
  722. hideState: true
  723. icon: 'mdi:memory'
  724. name: ' '
  725. - entity: sensor.shelly_camera_segnale
  726. halfheight: true
  727. hideState: true
  728. icon: 'mdi:wifi'
  729. name: ' '
  730. title: Shelly Camera
  731. tileOnRow: 2
  732. - column: 3
  733. entities:
  734. - entities:
  735. - entity: sensor.shelly_studio_stato
  736. halfheight: true
  737. hideState: true
  738. icon: 'mdi:memory'
  739. name: ' '
  740. - entity: sensor.shelly_studio_segnale
  741. halfheight: true
  742. hideState: true
  743. icon: 'mdi:wifi'
  744. name: ' '
  745. title: Shelly Studio
  746. tileOnRow: 2
  747. row: 3
  748. - columns:
  749. - column: 1
  750. entities:
  751. - entities:
  752. - entity: sensor.shelly_giardino_stato
  753. halfheight: true
  754. hideState: true
  755. icon: 'mdi:memory'
  756. name: ' '
  757. - entity: sensor.shelly_giardino_segnale
  758. halfheight: true
  759. hideState: true
  760. icon: 'mdi:wifi'
  761. name: ' '
  762. title: Shelly Giardino
  763. tileOnRow: 2
  764. row: 4
  765. statePositionTop: true
  766. style: |
  767. homekit-button[data-ent*="hideThis"] {
  768. visibility: hidden;
  769. }
  770. title: Sistema
  771. titleColor: '#FFF'
  772. type: 'custom:homekit-card'
  773. useBrightness: false
  774. useTemperature: false
  775. icon: 'mdi:memory'
  776. panel: true
  777. path: devices
  778. title: Devices Status
  779. visible:
  780. - user: 34ed6f708bb241258e3191be935470e3
  781. - user: 4ec675ff9e334f5ca3c7064da941bc11
  782. - title: test
  783. path: test
  784. badges: []
  785. cards:
  786. - type: 'custom:swipe-card'
  787. cards:
  788. - type: 'custom:mini-graph-card'
  789. color_thresholds:
  790. - color: '#4dd2ff'
  791. value: 0
  792. - color: '#66ff66'
  793. value: 15
  794. - color: '#ffff1a'
  795. valure: 23
  796. - color: '#ffa31a'
  797. value: 28
  798. - color: '#ff1a1a'
  799. value: 32
  800. entities:
  801. - sensor.daikin_sala_inside_temperature
  802. - sensor.daikin_sala_outside_temperature
  803. icon: 'mdi:home-thermometer-outline'
  804. show:
  805. icon: true
  806. legend: false
  807. name: false
  808.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement