Skip to content

Instantly share code, notes, and snippets.

@OriginNRG
Created February 1, 2020 09:54
Show Gist options
  • Save OriginNRG/00a0ecedc5620d36415dfda2ad01fecf to your computer and use it in GitHub Desktop.
Save OriginNRG/00a0ecedc5620d36415dfda2ad01fecf to your computer and use it in GitHub Desktop.
# lovelace_gen
title: Home
path: home
panel: true
icon: mdi:bug-outline
cards:
- type: custom:homekit-card
title: Home
home: false
enableColumns: true
statePositionTop: true
titleColor: '#999'
rows:
- row: 1
columns:
- column: 1
tileOnRow: 2
entities:
- title: Welcome
entities:
- entity: weather.home
name: Weather
- column: 2
tileOnRow: 4
entities:
- title: System
entities:
#- entity: weather.home
- card: 'custom:mini-graph-card'
noPadding: true
cardOptions:
fixed_value: 100
font_size: 50
hours_to_show: 1
line_color: "#8BC34A"
line_width: 8
name: CPU
points_per_hour: 20
entities:
- sensor.glances_cpu_used_2
- card: 'custom:mini-graph-card'
noPadding: true
cardOptions:
fixed_value: 100
font_size: 50
hours_to_show: 1
line_color: "#03A9F4"
line_width: 8
name: RAM
points_per_hour: 20
entities:
- sensor.glances_ram_used_percent_2
- card: 'custom:mini-graph-card'
noPadding: true
cardOptions:
fixed_value: 100
font_size: 50
hours_to_show: 12
line_color: "#FF9800"
line_width: 8
name: DISK
points_per_hour: 1
entities:
- sensor.glances_disk_used_percent_2
- card: 'custom:mini-graph-card'
noPadding: true
cardOptions:
fixed_value: 100
font_size: 50
hours_to_show: 6
line_color: "#9C27B0"
line_width: 8
name: TEMP
points_per_hour: 5
entities:
- sensor.glances_cpu_temp_2
- row: 2
columns:
- column: 1
tileOnRow: 2
entities:
- title: Groups
entities:
- custom: All Lights
name: All Lights
icon: mdi:lightbulb-group
tap_action:
action: navigate
navigation_path: /lovelace/all-lights
- custom: All Sockets
name: All Sockets
icon: mdi:power-socket-uk
tap_action:
action: navigate
navigation_path: /lovelace/all-sockets
- custom: All Sensors
name: All Sensors
icon: mdi:thermometer
tap_action:
action: navigate
navigation_path: /lovelace/all-sensors
- custom: All Rooms
name: All Rooms
icon: mdi:sofa
tap_action:
action: navigate
navigation_path: /lovelace/all-rooms
- column: 2
tileOnRow: 4
entities:
- title: Rooms
entities:
- custom: Avril's Office
name: Avril's Office
icon: mdi:desk
tap_action:
action: navigate
navigation_path: /lovelace/avrils-office
- custom: Bathroom
name: Bathroom
icon: mdi:paper-roll-outline
tap_action:
action: navigate
navigation_path: /lovelace/bathroom
- custom: Hallway
name: Hallway
icon: mdi:door
tap_action:
action: navigate
navigation_path: /lovelace/hallway
- custom: Kitchen
name: Kitchen
icon: mdi:stove
tap_action:
action: navigate
navigation_path: /lovelace/kitchen
- custom: Living Room
name: Living Room
icon: mdi:sofa
tap_action:
action: navigate
navigation_path: /lovelace/living-room
- custom: Main Office
name: Main Office
icon: mdi:desk
tap_action:
action: navigate
navigation_path: /lovelace/office
- custom: Master Bedroom
name: Master Bedroom
icon: mdi:bed-king
tap_action:
action: navigate
navigation_path: /lovelace/master-bedroom
- custom: Spare Bedroom
name: Spare Bedroom
icon: mdi:bed-double
tap_action:
action: navigate
navigation_path: /lovelace/spare-bedroom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment