GithubHelp home page GithubHelp logo

krosenmeier / hass-config Goto Github PK

View Code? Open in Web Editor NEW

This project forked from matt8707/hass-config

0.0 0.0 0.0 44.38 MB

A different take on designing a Lovelace UI

Home Page: https://community.home-assistant.io/t/a-different-take-on-designing-a-lovelace-ui/162594

Python 41.66% JavaScript 58.13% CSS 0.21%

hass-config's Introduction

Home Assistant Configuration

Home Assistant Container (Docker) on a NAS (Synology DiskStation DS918+). My use case is a wall mounted tablet (Galaxy Tab A 10.1) using Fully Kiosk Browser, and on desktop using homeassistant-desktop. My configuration is exposed to HomeKit with Apple Tv acting as a hub for remote connection. I also support Nabu Casa.

If you like anything here be sure to ๐ŸŒŸ my repo!

screenshot

August 2021

  • Changed sidebar to a vertical-stack, easier to add various cards

  • markdown โ†’ custom:button-card, faster and easier to style

  • Theme now only applies to dashboard and not other sections

  • Optimization of styles and cross-browser compatibility

  • Workaround for known issues:

If you want, you can buy me a beer ๐Ÿ˜Š


June 2021

June 2021

While picture elements is still a valid card for layouts that doesn't follow a specific grid, this dashboard does. Instead of placing button cards using coordinates, it's now placed onto a grid that is responsive.

Layout custom:layout-card

  • CSS grid everything and as a bonus...
  • Mobile and portrait dashboards
responsive_demo.mp4

Buttons custom:button-card

  • Loader template doesn't need any input_boolean helpers anymore
  • Icons will only animate on state change to prevent all icons animating on dashboard refresh
  • Some entity checks for undefined entities, no errors on restarts
  • Added a bounce effect to the button when pressed

Theme custom:card-mod

  • Reworked themes with focus on performance
  • Wrote a tool to help with styling card-mod-helper

Deprecated If you're looking for picture elements, browse this repository before March 2021 https://github.com/matt8707/hass-config/tree/c9dd19e04bd4fde2322e610a42f4e246b58ee19a

Includes Since this configuration is split into several yaml files, I'm using lovelace-gulp-watch, which auto updates lovelace if an included file is changed.


Features

animations

The sidebar

  • Time and date with greeting based on time of day
  • Lights and switches that are on, using natural language
  • Temperature with emoji based on weather conditions
  • Important calendar information
  • Other conditional alerts

Sidebar footer

The three icons at the bottom in order:

info

Media

Conditionally displaying media player controls based on last active device such as Apple TV, Spotify, Google Nest Mini. If nothing is active for 15 minutes then a poster of last downloaded movie/episode is shown (Radarr/Sonarr). Swipe to reveal other than last active media players.

media

Lights and sensors

All Philips Hue lights with sensors in hallway, bathroom and walk-in closet.

light

Switches

info_light

Custom icons

I made some custom icons located in www/custom_icons.js. If you want to make your own I recommend reading the material design principles.

custom_icons

Misc

vacuum

misc

tracker


Home Assistant Community Topic
https://community.home-assistant.io/t/a-different-take-on-designing-a-lovelace-ui/162594

hass-config's People

Contributors

matt8707 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.