From Steve, 1 Week ago, written in YAML.
This paste will expire in 2 Weeks.
Embed
  1. type: picture-elements
  2. image: local/lovelace/floorplan/plan22.png
  3. elements:
  4.   - entity: light.dining_room_lamp
  5.     type: image
  6.     title: Dining Room Light overlay
  7.     tap_action:
  8.       action: none
  9.     hold_action:
  10.       action: none
  11.     image: /local/lovelace/overlay/1x1_trans.png
  12.     state_image:
  13.       'on': /local/lovelace/overlay/dining_room_light.png
  14.     style:
  15.       left: 70.5%
  16.       top: 10%
  17.       width: 4%
  18.   - entity: light.dining_room_lamp
  19.     type: image
  20.     title: Dining Room Light
  21.     hold_action:
  22.       action: more-info
  23.     tap_action:
  24.       action: toggle
  25.     image: /local/lovelace/icon/icon_light_pendant_off.png
  26.     state_filter:
  27.       'off': brightness(80%) saturate(0.8)
  28.       'on': brightness(130%) saturate(1.5)
  29.     state_image:
  30.       'on': /local/lovelace/icon/icon_light_pendant_on.png
  31.     style:
  32.       left: 70.5%
  33.       top: 10%
  34.       width: 4%
  35.   - entity: light.room_lamp
  36.     type: image
  37.     title: Room Lamp overlay
  38.     tap_action:
  39.       action: none
  40.     hold_action:
  41.       action: none
  42.     image: /local/lovelace/overlay/1x1_trans.png
  43.     state_image:
  44.       'on': /local/lovelace/overlay/dining_room_light.png
  45.     style:
  46.       left: 10%
  47.       top: 10%
  48.       width: 4%
  49.   - entity: light.room_lamp
  50.     type: image
  51.     title: Room Lamp
  52.     hold_action:
  53.       action: more-info
  54.     tap_action:
  55.       action: toggle
  56.     image: /local/lovelace/icon/icon_light_pendant_off.png
  57.     state_filter:
  58.       'off': brightness(80%) saturate(0.8)
  59.       'on': brightness(130%) saturate(1.5)
  60.     state_image:
  61.       'on': /local/lovelace/icon/icon_light_pendant_on.png
  62.     style:
  63.       left: 10%
  64.       top: 10%
  65.       width: 5%
  66.   - entity: light.cabinet_leds
  67.     type: image
  68.     title: Cabinet LEDS overlay
  69.     tap_action:
  70.       action: none
  71.     hold_action:
  72.       action: none
  73.     image: /local/lovelace/overlay/1x1_trans.png
  74.     state_image:
  75.       'on': /local/lovelace/overlay/dining_room_light.png
  76.     style:
  77.       left: 44%
  78.       top: 8%
  79.       width: 4%
  80.   - entity: light.cabinet_leds
  81.     type: image
  82.     title: Cabinet LEDS
  83.     hold_action:
  84.       action: more-info
  85.     tap_action:
  86.       action: toggle
  87.     image: /local/lovelace/icon/icon_light_pendant_off.png
  88.     state_filter:
  89.       'off': brightness(80%) saturate(0.8)
  90.       'on': brightness(130%) saturate(1.5)
  91.     state_image:
  92.       'on': /local/lovelace/icon/icon_light_pendant_on.png
  93.     style:
  94.       left: 44%
  95.       top: 8%
  96.       width: 5%
  97.   - entity: light.dining_room
  98.     type: image
  99.     title: Dining Room Light overlay
  100.     tap_action:
  101.       action: none
  102.     hold_action:
  103.       action: none
  104.     image: /local/lovelace/overlay/1x1_trans.png
  105.     state_image:
  106.       'on': /local/lovelace/overlay/dining_room_light.png
  107.     style:
  108.       left: 82%
  109.       top: 48%
  110.       width: 4%
  111.   - entity: light.dining_room
  112.     type: image
  113.     title: Dining Room Light
  114.     hold_action:
  115.       action: more-info
  116.     tap_action:
  117.       action: toggle
  118.     image: /local/lovelace/icon/icon_light_pendant_off.png
  119.     state_filter:
  120.       'off': brightness(80%) saturate(0.8)
  121.       'on': brightness(130%) saturate(1.5)
  122.     state_image:
  123.       'on': /local/lovelace/icon/icon_light_pendant_on.png
  124.     style:
  125.       left: 82%
  126.       top: 48%
  127.       width: 5%
  128.   - entity: light.tv_leds
  129.     type: image
  130.     title: TV LEDS overlay
  131.     tap_action:
  132.       action: none
  133.     hold_action:
  134.       action: none
  135.     image: /local/lovelace/overlay/1x1_trans.png
  136.     state_image:
  137.       'on': /local/lovelace/overlay/dining_room_light.png
  138.     style:
  139.       left: 25%
  140.       top: 8%
  141.       width: 4%
  142.   - entity: light.tv_leds
  143.     type: image
  144.     title: Tv LEDS Light
  145.     hold_action:
  146.       action: more-info
  147.     tap_action:
  148.       action: toggle
  149.     image: /local/lovelace/icon/icon_light_pendant_off.png
  150.     state_filter:
  151.       'off': brightness(80%) saturate(0.8)
  152.       'on': brightness(130%) saturate(1.5)
  153.     state_image:
  154.       'on': /local/lovelace/icon/icon_light_pendant_on.png
  155.     style:
  156.       left: 25%
  157.       top: 8%
  158.       width: 5%
  159.   - entity: media_player.sony_bravia_tv
  160.     type: state-icon
  161.     icon: hass:television
  162.     state_color: true
  163.     title: Tv
  164.     hold_action:
  165.       action: more-info
  166.     tap_action:
  167.       action: toggle
  168.     style:
  169.       '--iron-icon-stroke-color': '#6464ff'
  170.       left: 35%
  171.       top: 8%
  172.       width: 15%
  173.   - entity: media_player.living_room_dot
  174.     type: state-icon
  175.     state_color: true
  176.     title: Alexa
  177.     hold_action:
  178.       action: more-info
  179.     tap_action:
  180.       action: toggle
  181.     style:
  182.       left: 12%
  183.       top: 14%
  184.       width: 15%
  185.   - entity: binary_sensor.living_room
  186.     type: state-icon
  187.     icon: mdi:run
  188.     title: Living Room Motion
  189.     style:
  190.       left: 2%
  191.       top: 96%
  192.       '--iron-icon-stroke-color': '#969696'
  193.       border-radius: 100%
  194.       background-color: rgba(255, 255, 255, 0.3)
  195.   - entity: binary_sensor.dining_room
  196.     type: state-icon
  197.     icon: mdi:run
  198.     title: Living Room Motion
  199.     style:
  200.       left: 98%
  201.       top: 96%
  202.       '--iron-icon-stroke-color': '#969696'
  203.       border-radius: 100%
  204.       background-color: rgba(255, 255, 255, 0.3)
  205.   - entity: sensor.home_current_temperature_2
  206.     type: state-label
  207.     style:
  208.       top: 96%
  209.       left: 8%
  210.       color: '#000'
  211.       border-radius: 50%
  212.       text-align: center
  213.       background-color: rgba(255, 255, 255, 0.3)
  214.       font-size: 15px
  215.       font-weight: bold
  216.