Advertisement
Guest User

Untitled

a guest
Oct 20th, 2018
1,756
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 3.50 KB | None | 0 0
  1. - type: picture-elements
  2.   image: blank.png
  3.   elements:
  4.     - type: image
  5.       entity: camera.swimming_pool
  6.       camera_image: camera.swimming_pool
  7.       tap_action: more-info
  8.       style:
  9.         top: 0
  10.         right: 0
  11.         transform: initial
  12.         color: white
  13.         line-height: 32px
  14.         padding: 0px
  15.         margin: 0 0 0 0
  16.     - type: state-label
  17.       prefix: "Pool Controller: "
  18.       entity: sensor.pool_controller_status
  19.       style:
  20.         left: 0
  21.         bottom: 0
  22.         pointer-events: none
  23.         font-size: 16px
  24.         line-height: 32px
  25.         color: white
  26.         background-color: rgba(0, 0, 0, 0.3)
  27.         width: 100%
  28.         transform: initial
  29.         padding: 0 8px
  30.     - type: state-icon
  31.       entity: switch.iaqualink
  32.       style:
  33.         bottom: 0
  34.         right: 0
  35.         pointer-events: none
  36.         transform: scale(0.8)
  37.         color: rgba(255,255,255,1)
  38.         line-height: 32px
  39.         margin: 0 8px 5px 0
  40.         # Change color of state-icon off
  41.         --paper-item-icon-color: rgb(255,255,255)
  42.     - type: custom:state-attribute-element
  43.       entity: switch.iaqualink
  44.       attribute: pool_temp
  45.       style:
  46.         bottom: 0
  47.         right: 0
  48.         pointer-events: none
  49.         transform: initial
  50.         font-size: 12px
  51.         color: rgba(255,255,255,1)
  52.         text-shadow: rgba(0, 0, 0, 0.8) 0px 0px 2px
  53.         line-height: 32px
  54.         margin: 105px 40px
  55.     - type: icon
  56.       icon: mdi:thermometer
  57.       style:
  58.         bottom: 0
  59.         right: 0
  60.         pointer-events: none
  61.         transform: scale(0.8)
  62.         color: rgba(255,255,255,1)
  63.         line-height: 32px
  64.         margin: 107px 13px
  65.     - type: custom:state-attribute-element
  66.       entity: switch.pool_controller
  67.       attribute: current_power_w
  68.       suffix: "W"
  69.       style:
  70.         bottom: 0
  71.         right: 0
  72.         pointer-events: none
  73.         transform: initial
  74.         font-size: 12px
  75.         color: rgba(255,255,255,1)
  76.         text-shadow: rgba(0, 0, 0, 0.8) 0px 0px 2px
  77.         line-height: 32px
  78.         margin: 50px 40px
  79.     - type: icon
  80.       icon: mdi:flash
  81.       style:
  82.         bottom: 0
  83.         right: 0
  84.         pointer-events: none
  85.         transform: scale(0.8)
  86.         color: rgba(255,255,255,1)
  87.         line-height: 32px
  88.         margin: 50px 13px
  89.     - type: state-label
  90.       entity: sensor.iaqualink_runtime_today_formatted
  91.       style:
  92.         bottom: 0
  93.         right: 0
  94.         pointer-events: none
  95.         transform: initial
  96.         font-size: 12px
  97.         color: rgba(255,255,255,1)
  98.         text-shadow: rgba(0, 0, 0, 0.8) 0px 0px 2px
  99.         line-height: 32px
  100.         margin: 70px 31px
  101.     - type: icon
  102.       icon: mdi:timer
  103.       style:
  104.         bottom: 0
  105.         right: 0
  106.         pointer-events: none
  107.         transform: scale(0.8)
  108.         color: rgba(255,255,255,1)
  109.         line-height: 32px
  110.         margin: 79px 13px
  111.     - type: state-label
  112.       entity: sensor.iaqualink_chlorination_today_formatted
  113.       style:
  114.         bottom: 0
  115.         right: 0
  116.         pointer-events: none
  117.         transform: initial
  118.         font-size: 12px
  119.         color: rgba(255,255,255,1)
  120.         text-shadow: rgba(0, 0, 0, 0.8) 0px 0px 2px
  121.         line-height: 32px
  122.         margin: 123px 31px
  123.     - type: icon
  124.       icon: mdi:flask
  125.       style:
  126.         bottom: 0
  127.         right: 0
  128.         pointer-events: none
  129.         transform: scale(0.8)
  130.         color: rgba(255,255,255,1)
  131.         line-height: 32px
  132.         margin: 133px 13px
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement