Skip to content

Instantly share code, notes, and snippets.

@Snipercaine
Created September 9, 2019 19:48
Show Gist options
  • Save Snipercaine/2bcb67c46b618f5a90ed1d8a9e2ff6d6 to your computer and use it in GitHub Desktop.
Save Snipercaine/2bcb67c46b618f5a90ed1d8a9e2ff6d6 to your computer and use it in GitHub Desktop.
Lovelacefloorplan
resources:
- type: js
url: /community_plugin/plan-coordinates/plan-coordinates.js
#views:
- cards:
- cards:
- type: 'custom:plan-coordinates'
- elements:
- entity: switch.4336784084f3eb5d6215
state_filter:
'off': hue-rotate(20deg)
'on': blur(2px)
state_image:
'off': /local/fan.png
'on': /local/fanY.gif
style:
left: 44%
top: 13%
width: 4%
tap_action:
action: toggle
type: image
- entity: switch.toy_room
style:
left: 41%
top: 27%
tap_action:
action: toggle
type: state-icon
- entity: sensor.blink_toy_room_temperature
style:
font-weight: bold
left: 37%
top: 14%
type: state-label
- entity: switch.boys_bathroom_lock
style:
left: 47.5%
top: 84.5%
tap_action:
action: toggle
type: state-icon
- entity: switch.boys_fan
state_filter:
'off': hue-rotate(20deg)
'on': blur(2px)
state_image:
'off': /local/fan.png
'on': /local/fanY.gif
unavailable: /local/fan.png
style:
left: 33%
top: 48%
width: 5%
tap_action:
action: toggle
type: image
- entity: switch.boys_fan_light
style:
left: 33%
top: 55%
tap_action:
action: toggle
type: state-icon
- entity: switch.boys_light
style:
left: 28%
top: 47%
tap_action:
action: toggle
type: state-icon
- entity: switch.10024200b4e62d51cd4b
style:
left: 50.5%
top: 82.5%
tap_action:
action: toggle
type: state-icon
- entity: switch.boys_shower
style:
left: 49%
top: 90%
tap_action:
action: toggle
type: state-icon
- entity: switch.boys_bathroom
style:
left: 49%
top: 77%
tap_action:
action: toggle
type: state-icon
- entity: sensor.boys_room_temp
style:
color: white
font-weight: bold
left: 30%
top: 37%
type: state-label
- entity: switch.girls_fan
state_filter:
'off': hue-rotate(20deg)
'on': blur(2px)
state_image:
'off': /local/fan.png
'on': /local/fanY.gif
unavailable: /local/fan.png
style:
left: 60%
top: 44%
width: 5%
tap_action:
action: toggle
type: image
- entity: switch.girls_light
style:
left: 54%
top: 31%
tap_action:
action: toggle
type: state-icon
- entity: switch.girls_wall
style:
left: 60%
top: 51%
tap_action:
action: toggle
type: state-icon
- entity: sensor.girls_room_temp
style:
color: white
font-weight: bold
left: 60%
top: 37%
type: state-label
- entity: switch.upstairs_hall
style:
left: 47%
top: 61%
tap_action:
action: toggle
type: state-icon
- entity: sensor.upstairs_temp
style:
font-weight: bold
left: 49%
top: 53%
type: state-label
- entity: sensor.blink_mountain_room_temperature
style:
color: white
font-weight: bold
left: 24%
top: 84%
type: state-label
- entity: sensor.printing_status
style:
left: 43%
top: 88%
type: state-icon
- entity: sensor.octoprint_current_state
style:
left: 43%
top: 92%
type: state-icon
- entity: switch.office_lock
style:
left: 37%
top: 73%
tap_action:
action: toggle
type: state-icon
- entity: switch.office_light
style:
left: 32%
top: 78%
tap_action:
action: toggle
type: state-icon
- entity: switch.office_crown
style:
left: 26%
top: 92%
tap_action:
action: toggle
type: state-icon
- entity: device_tracker.justin_iphone7
state_image:
Away: /local/me_car.png
Home: /local/DrZzs_Emoji.png
Work: /local/money-bag.png
style:
left: 31%
top: 92%
width: 5%
type: image
image: /local/HHC_2b.png
type: picture-elements
type: vertical-stack
icon: 'mdi:home-heart'
panel: true
title: Upstairs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment