Skip to content

Instantly share code, notes, and snippets.

@oischinger
Created October 2, 2019 18:32
Show Gist options
  • Save oischinger/496e69e4a15d1d9efcac8f92101d9285 to your computer and use it in GitHub Desktop.
Save oischinger/496e69e4a15d1d9efcac8f92101d9285 to your computer and use it in GitHub Desktop.
Zoned Cleanup Lovelace UI
type: picture-elements
image: /local/floorplan.jpg
elements:
- camera_image: camera.rockrobo_map
camera_view: camera.rockrobo_map
entity: camera.rockrobo_map
style:
left: '-63%'
opacity: 0.5
top: 8%
transform: 'rotate(-89deg) translate(-0%, -0%)'
width: 238%
type: image
- entity: input_boolean.kueche_vacuum_zone
filter: saturate(.0) contrast(0%) brightness(0%)
image: /local/vacuum_eg_kueche.png
state_filter:
'on': drop-shadow(0px 0px 7px yellow) saturate(2.0)
style:
left: 64%
top: 19.2%
width: 29%
tap_action:
action: toggle
type: image
- entity: input_boolean.flur_vacuum_zone
filter: saturate(.0) contrast(0%) brightness(0%)
image: /local/vacuum_eg_flur.png
state_filter:
'on': drop-shadow(0px 0px 7px green) saturate(2.0)
style:
left: 43%
top: 20.5%
width: 36%
tap_action:
action: toggle
type: image
- entity: input_boolean.essbereich_vacuum_zone
filter: saturate(.0) contrast(0%) brightness(0%)
image: /local/vacuum_eg_essbereich.png
state_filter:
'on': drop-shadow(0px 0px 7px pink) saturate(1.3)
style:
left: 65%
top: 43.4%
width: 37%
tap_action:
action: toggle
type: image
- entity: input_boolean.sofa_vacuum_zone
filter: saturate(.0) contrast(0%) brightness(0%)
image: /local/vacuum_eg_sofa.png
state_filter:
'on': drop-shadow(0px 0px 7px blue) saturate(2.0)
style:
left: 46%
top: 67.8%
width: 29%
tap_action:
action: toggle
type: image
- entity: input_boolean.wohnzimmerwand_vacuum_zone
filter: saturate(.0) contrast(0%) brightness(0%)
image: /local/vacuum_eg_wohnzimmerwand.png
state_filter:
'on': drop-shadow(0px 0px 7px red) saturate(2.0)
style:
left: 71.8%
top: 68%
width: 26%
tap_action:
action: toggle
type: image
- entity: input_boolean.wintergarten_vacuum_zone
filter: saturate(.0) contrast(0%) brightness(0%)
image: /local/vacuum_eg_wintergarten.png
state_filter:
'on': drop-shadow(0px 0px 7px lightblue) saturate(2.0)
style:
left: 57.8%
top: 86.8%
width: 52%
tap_action:
action: toggle
type: image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment