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
294 stars 40 forks source link

Feature request: Manually enable block mode #237

Closed PiotrMachowski closed 2 years ago

PiotrMachowski commented 3 years ago

Description

It would be nice to add a service that will manually enable block mode. Right now I have to change light entity to enable it.

Expected behavior

This is how the component should work:

  1. idle
  2. active
  3. active_timer
  4. entity_controller.block
  5. blocked
  6. entity_controller.clear_block
  7. active_timer/idle

Actual Behaviour

This is what actually happened:

  1. idle
  2. active
  3. active_timer
  4. light.turn_on
  5. blocked
  6. entity_controller.clear_block
  7. active_timer/idle

Version

9.2.0
PiotrMachowski commented 2 years ago

@danobot I guess it means you won't consider adding it?

danobot commented 2 years ago

EC is stable and I personally don't have time to implement new features. If you want to give it a go I'm happy to test and support.

PiotrMachowski commented 2 years ago

That's perfectly understandable, I have similar problems. I think I will try to add this feature someday