danobot / entity-controller

Home Assistant Entity and lighting controller for managing devices with timers, scripts, and sun-based time restrictions.
https://danobot.github.io/ec-docs/
GNU General Public License v3.0
299 stars 40 forks source link

Night Mode: entity select #284

Closed kotarokun closed 1 year ago

kotarokun commented 2 years ago

Description

I want to know, if it is Possible, to select some entities for night Mode? I have some light, that don't want to enable in night Mode because it is too bright.

Thanks a lot

ndbroadbent commented 2 years ago

Hi @kotarokun, yes you can do that by setting up multiple entity controllers and setting start_time and end_time options. There is also a night_mode option where you can reduce the brightness (if your light has this option.) I would recommend setting up a separate entity controller for this light and setting an end_time or override.

dankarization commented 1 year ago

@kotarokun's question is a really good one. Basically duplicating the amount of controllers needed to select different entities for daytime and nighttime is a nightmare, if you have a big house. Would love to see this feature inside one controller

danobot commented 1 year ago

The way I configure it is using mulitple entity controllers - its a cheap, one-off setup and then forget about it. I don't see any reason to complicate implementation with "nested controllers", when the individual controller is already extremely configurable . @ndbroadbent spot on :)

dankarization commented 1 year ago

Ok, and how to be when "day" entity is currently on and enters constrained more? If you just turn lights off on enter constrained, then you'll left without any lights, because "night" one won't turn off if no new motion activates it