Giter Site home page Giter Site logo

ad_sunset_lights's Introduction

Home Assitant Lights On at Sunset Appdaemon App

hacs_badge
Buy Me A Coffee

Lights On at Sunset app for AppDaemon.

Simply toggles lights on at sundown, turns them off at sunrise. You can set the light service data.

Installation

Download the sunset_lights directory from inside the apps directory to your local apps directory, then add the configuration to enable the hacs module.

Example App configuration

Simple switch

sunsetlights:
  module: sunset_lights
  class: SunsetLights
  entities:
  - group.sconces

Advanced

sunsetlights:
  module: sunset_lights
  class: SunsetLights
  entities:
  - group.sconces
  - entity: light.office_lamp
    service_data:
      brightness: 100
      kelvin: 2700
  - entity: light.office_mood
    service_data:
      brightness: 130
      rgb_color: [255,0,0]
  log_level: INFO

App Configuration

key optional type default description
module False string sunset_lights The module name of the app.
class False string SunsetLights The name of the Class.
entities False list A list of entity_id's or entity objects.
log_level True 'INFO' | 'DEBUG' 'INFO' Switches log level.

Entity Object Configuration

key optional type default description
entity False string The entity_id of the switch or light.
service_data True map Turn on service data. Whenever the door turns on a light or switch, this data will be passed to the service data. Warning: Use only valid combinations. Light combinations are not validated and can cause errors in Home Assistant.

ad_sunset_lights's People

Contributors

petro31 avatar

Watchers

 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.