jcallaghan / home-assistant-config

My Home Assistant configuration & documentation.
https://www.jcallaghan.com/
MIT License
175 stars 8 forks source link

Lovelace - Utility #214

Closed jcallaghan closed 4 years ago

jcallaghan commented 4 years ago

Here is a panel for two cupboards I use as a utility.

image

Originally posted by @jcallaghan in https://github.com/jcallaghan/home-assistant-config/issues/207#issuecomment-655783223

jcallaghan commented 4 years ago

Vertical and horizontal stacks

image

cards:
  - cards:
      - entity: light.washing_machine_cupboard_light
        hold_action:
          action: more-info
        icon_height: 75px
        name: Washing Machine
        show_icon: true
        show_name: true
        tap_action:
          action: toggle
        type: button
      - entity: light.understairs_cupboard_light
        hold_action:
          action: more-info
        icon_height: 75px
        name: Understairs
        show_icon: true
        show_name: true
        tap_action:
          action: toggle
        type: button
    type: horizontal-stack
  - cards:
      - entities:
          - entity: binary_sensor.washing_machine_cupboard_motion
          - entity: sensor.washing_machine_cupboard_motion_lux
        show_name: false
        type: glance
      - entities:
          - entity: binary_sensor.understairs_cupboard_motion
          - entity: sensor.understairs_cupboard_motion_lux
        show_name: false
        type: glance
    type: horizontal-stack
  - cards:
      - detail: 2
        entity: sensor.washing_machine_cupboard_motion_temperature
        graph: line
        name: Washing Machine
        type: sensor
      - detail: 2
        entity: sensor.understairs_cupboard_motion_temperature
        graph: line
        name: Understairs
        type: sensor
    type: horizontal-stack
type: vertical-stack

Here is the same example just using two separate vertical stacks.

image

jcallaghan commented 4 years ago

This is my Utility panel all up - this panel represents my utility cupboards.

image

I have a primary dashboard that presents each room in the house and also have a mirror of this but it is constructed so it includes all devices, automations, scenes and helpers which I can use to debug stuff as well as use when constructing new automation etc. The primary panel I try to keep as functional as possible but behind the scenes, there can be lots going on. Here is an example:

image