Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Daytimes mixing scenes and light percentages #59

Open
paviro opened this issue Dec 20, 2020 · 1 comment
Open

Daytimes mixing scenes and light percentages #59

paviro opened this issue Dec 20, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@paviro
Copy link
Contributor

paviro commented Dec 20, 2020

🙄 Is your feature request related to a problem? Please describe.
I am currently using a mixture of scenes and light brightness for my daytimes. If a light is enabled after 10pm for example the scene badezimmer_entspannend is triggered after 0am the same scene is continued being used just dimmer. If the light isn't triggered between 10pm and 0am however the scene before badezimmer_abend will be used.

😍 Describe the solution you'd like
Add an option to use the last specified scene (with adjusted brightness) when using only light brightness or the possibility to specify both scene and brightness.

🖼️ Example/See here!

badezimmer_bewegungsmelder:
  module: automoli
  class: AutoMoLi
  room: Badezimmer
  delay: 180
  daytimes:
    - { starttime: "05:00", name: morning, light: 30 }
    - { starttime: "09:30", name: morning, light: "scene.badezimmer_normal" }
    - { starttime: "18:30", name: morning, light: "scene.badezimmer_abend" }
    - { starttime: "22:00", name: night, light: "scene.badezimmer_entspannend" }
    - { starttime: "00:00", name: night, light: 50 }
  
  motion_state_on: "on"
  motion_state_off: "off"
  motion:
    - binary_sensor.badezimmer_bewegung
    - binary_sensor.flur_og_bewegung
    
  dim:
    method: transition
    seconds_before: 15
@dewet22
Copy link

dewet22 commented Mar 3, 2021

Very much interested in seeing this since I use the same mix. What would also be useful is adding the ability to specify transition times — right now it can be quite harsh as scenes flash in.

@evildad evildad added the enhancement New feature or request label Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants