All Projects → tcarlsen → Lovelace Light With Profiles

tcarlsen / Lovelace Light With Profiles

Licence: mit
Turn on lights based on light_profiles.csv

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Lovelace Light With Profiles

Xiaomi miot raw
Universal Xiaomi MIoT integration for Home Assistant
Stars: ✭ 240 (+410.64%)
Mutual labels:  home-assistant, light
awesome-ha-blueprints
A curated collection of automation blueprints for Home Assistant.
Stars: ✭ 258 (+448.94%)
Mutual labels:  light, home-assistant
openrgb ha
OpenRGB integration for Home Assistant
Stars: ✭ 40 (-14.89%)
Mutual labels:  light, home-assistant
Android
📱 Home Assistant Companion for Android
Stars: ✭ 881 (+1774.47%)
Mutual labels:  home-assistant
Yahoofinance
Home Assistant component which allows you to get stock updates from Yahoo finance.
Stars: ✭ 28 (-40.43%)
Mutual labels:  home-assistant
Open Home
Projeto de automação residencial usando softwares e hardwares open source.
Stars: ✭ 41 (-12.77%)
Mutual labels:  home-assistant
Plenoptictoolbox2.0
The Plenoptic Toolbox 2.0 aims to help promote research on Focused Plenoptic Cameras (a.k.a. Plenoptic 2.0)
Stars: ✭ 45 (-4.26%)
Mutual labels:  light
Rhasspy
Rhasspy voice assistant for offline home automation
Stars: ✭ 851 (+1710.64%)
Mutual labels:  home-assistant
Tensorflow Lite Rest Server
Expose tensorflow-lite models via a rest API
Stars: ✭ 43 (-8.51%)
Mutual labels:  home-assistant
Yeelight Platform
Yet Another Yeelight API in node.js
Stars: ✭ 35 (-25.53%)
Mutual labels:  light
Solarthing
Monitors an Outback MATE and a Renogy Rover - MPPT Charge Controller. Integrates with Grafana, PVOutput and more!
Stars: ✭ 33 (-29.79%)
Mutual labels:  home-assistant
Home Assistant octopusagile
Octopus Agile custom component for Home Assistant
Stars: ✭ 30 (-36.17%)
Mutual labels:  home-assistant
Home Assistant Config
My Home Assistant configuration
Stars: ✭ 41 (-12.77%)
Mutual labels:  home-assistant
Smarthome
SmartHome: firmware per ESP8266 - Casa domotica
Stars: ✭ 28 (-40.43%)
Mutual labels:  home-assistant
Home Assistantconfig
🏡 My Home Assistant Configs. Be sure to 🌟 my repo, if it has been of any help
Stars: ✭ 43 (-8.51%)
Mutual labels:  home-assistant
Supervisor
🏡 Home Assistant Supervisor
Stars: ✭ 862 (+1734.04%)
Mutual labels:  home-assistant
Repository Edge
EDGE - Home Assistant Community Add-ons
Stars: ✭ 42 (-10.64%)
Mutual labels:  home-assistant
Hass Config
Configuration files for Home Assistant
Stars: ✭ 32 (-31.91%)
Mutual labels:  home-assistant
Superboucle
Loop application synced with jack transport
Stars: ✭ 31 (-34.04%)
Mutual labels:  light
Morphnumbers
Компонент Home Assistant для работы с числительными в Jinja2
Stars: ✭ 38 (-19.15%)
Mutual labels:  home-assistant

Light with Profiles

hacs_badge

Turn on lights based on light_profiles.csv.

demo

Installation

  1. Upload light-with-profiles.js inside your www folder, and add the resource in lovelace config like so:
resources:
  - type: module
    url: /local/light-with-profiles.js
  1. If you like the card to be able to show wich profiles are active (change color) you will need to add your profiles defined in light_profiles.csv in your lovelace.yaml like so:
light_profiles:
  bright: '0.457,0.408,254'
  dimmed: '0.457,0.408,77'
  nightlight: '0.509,0.411,1'
  brightness_only: '0,0,150'
  1. Lastly add the custom card:
type: 'custom:light-with-profiles'
title: Lys
entities:
  - entity: light.spisestuen
    name: 'Override Light Name'
    profiles:
      - name: bright
        icon: 'mdi:brightness-5'
      - name: dimmed
        icon: 'mdi:brightness-4'
      - name: nightlight
        icon: 'mdi:brightness-3'
  - entity: light.udestuen
    profiles:
      - name: bright
        icon: 'mdi:brightness-5'
      - name: dimmed
        icon: 'mdi:brightness-4'
      - name: nightlight
        icon: 'mdi:brightness-3'
  - entity: light.vitus
    profiles:
      - name: bright
        icon: 'mdi:brightness-5'
      - name: dimmed
        icon: 'mdi:brightness-4'
      - name: nightlight
        icon: 'mdi:brightness-3'
  - entity: light.matias
    profiles:
      - name: bright
        icon: 'mdi:brightness-5'
      - name: dimmed
        icon: 'mdi:brightness-4'
      - name: nightlight
        icon: 'mdi:brightness-3'
  - entity: light.sovevaerelset
    profiles:
      - name: bright
        icon: 'mdi:brightness-5'
      - name: dimmed
        icon: 'mdi:brightness-4'
      - name: nightlight
        icon: 'mdi:brightness-3'
  - entity: light.entreen
  - entity: light.kokken

Debug

To show the current values of your lights you can add the debug attribute

type: 'custom:light-with-profiles'
title: Lys
debug: true
entities:
  - entity: light.spisestuen
  - entity: light.entreen
  - entity: light.kokken

Buy Me A Coffee

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].