Skip to content

Instantly share code, notes, and snippets.

@clintkev251
Created May 15, 2022 15:43
Show Gist options
  • Save clintkev251/c75726e0ba4d62a26ec36f120345437d to your computer and use it in GitHub Desktop.
Save clintkev251/c75726e0ba4d62a26ec36f120345437d to your computer and use it in GitHub Desktop.
- title: "Main"
path: main
type: custom:grid-layout
layout:
grid-template-columns: 33.33% 33.33% 33.33%
cards:
- type: horizontal-stack
view_layout:
grid-column-start: 1
grid-column-end: 5
grid-row: 1
cards:
- type: "custom:button-card"
template: card_navigate
variables:
ulm_card_navigate_path: livingroom
ulm_card_navigate_icon: mdi:sofa
ulm_card_navigate_title: Living Room
- type: "custom:button-card"
template: card_navigate
variables:
ulm_card_navigate_path: kitchen
ulm_card_navigate_icon: mdi:stove
ulm_card_navigate_title: Kitchen
- type: "custom:button-card"
template: card_navigate
variables:
ulm_card_navigate_path: office
ulm_card_navigate_icon: mdi:desk
ulm_card_navigate_title: Office
- type: "custom:button-card"
template: card_navigate
variables:
ulm_card_navigate_path: master
ulm_card_navigate_icon: mdi:bed-king
ulm_card_navigate_title: Master Bed
- type: "custom:button-card"
template: card_navigate
variables:
ulm_card_navigate_path: loft
ulm_card_navigate_icon: mdi:television
ulm_card_navigate_title: Loft
- type: "custom:button-card"
template: card_navigate
variables:
ulm_card_navigate_path: cameras
ulm_card_navigate_icon: mdi:cctv
ulm_card_navigate_title: Cameras
- type: conditional
conditions:
- entity: input_boolean.vacation_mode
state: "off"
- entity: alarm_control_panel.alarmo
state: "disarmed"
card:
type: "custom:button-card"
template: card_navigate
variables:
ulm_card_navigate_path: settings
ulm_card_navigate_icon: mdi:cog
ulm_card_navigate_title: Settings
- type: vertical-stack
view_layout:
grid-column: 1
grid-row: 2
cards:
- type: "custom:button-card"
template: "card_welcome_scenes"
#triggers_update: input_boolean.<Your_boolean>
# entity: input_boolean.collapse
variables:
ulm_card_welcome_scenes_collapse: input_boolean.collapse #OPTIONAl --> uncomment also entity or triggers_update
ulm_weather: "weather.home"
entity_1:
entity_id: "light.living_room_lights"
icon: "mdi:sofa" #OPTIONAL
name: "Living Room" #OPTIONAL
color: "blue"
entity_2:
entity_id: "light.kitchen_lights"
icon: "mdi:stove" #OPTIONAL
name: "Kitchen" #OPTIONAL
color: "red"
entity_3:
entity_id: "light.office_lights"
icon: "mdi:desk" #OPTIONAL
name: "Office" #OPTIONAL
color: "green"
entity_4:
entity_id: "light.loft_lights"
icon: "mdi:television" #OPTIONAL
name: "Loft" #OPTIONAL
color: "purple"
entity_5:
entity_id: "light.bedroom_lights"
icon: "mdi:bed-king" #OPTIONAL
name: "Master" #OPTIONAL
color: "yellow"
- type: custom:grocy-chores-card
entity: sensor.grocy_chores
title: null
show_quantity: null
show_days: 0
show_assigned: true
show_last_tracked: true
show_last_tracked_by: false
show_track_button: true
- type: 'custom:button-card'
template: card_script
variables:
ulm_card_script_title: All Off
ulm_card_script_icon: 'mdi:lightbulb-group-outline'
tap_action:
action: call-service
service: script.turn_on
service_data:
entity_id: script.all_off
- type: 'custom:button-card'
template: card_script
variables:
ulm_card_script_title: Goodnight
ulm_card_script_icon: 'mdi:sleep'
tap_action:
action: call-service
service: script.turn_on
service_data:
entity_id: script.goodnight
- type: 'custom:button-card'
template: card_script
variables:
ulm_card_script_title: Show guest Wifi info
ulm_card_script_icon: 'mdi:wifi-lock-open'
tap_action:
action: fire-dom-event
browser_mod:
command: popup
title: Disco Guest
auto_close: true
card:
type: picture-entity
show_state: false
show_name: false
camera_view: live
entity: camera.local_file
tap_action:
action: none
hold_action:
action: none
- type: vertical-stack
view_layout:
grid-column: 2
grid-row: 2
cards:
- type: "custom:button-card"
template: card_thermostat
entity: climate.tachi_hvac_climate_system
variables:
ulm_card_thermostat_enable_collapse: false
ulm_card_thermostat_enable_controls: true
ulm_card_thermostat_enable_hvac_modes: true
ulm_card_thermostat_enable_popup: true
ulm_card_thermostat_enable_background_color: true
ulm_card_thermostat_enable_display_temperature: true
- type: "custom:button-card"
template: card_cover
entity: cover.left_garage_door
variables:
ulm_card_cover_enable_controls: true
- type: entities
title: Tachi Status
entities:
- entity: sensor.tesla_state
name: Status
- entity: binary_sensor.tesla_is_preconditioning
name: Preconditioning
- entity: sensor.tesla_battery_level
name: State of charge
- entity: sensor.tesla_charger_power
name: Charger power
- type: vertical-stack
view_layout:
grid-column: 3
grid-row: 2
cards:
- type: "custom:button-card"
template: card_weather
entity: weather.home
variables:
ulm_card_weather_name: " "
ulm_card_weather_primary_info:
- wind_speed
- precipitation_probability
- type: 'custom:alarmo-card'
entity: alarm_control_panel.alarmo
name: Alarm
button_scale_keypad: 1.2
button_scale_actions: 1.2
use_clear_icon: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment