-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Feature: Conditions or enable/disable option #306
Comments
you should create template binary sensors and achieve this by tweaking your configuration.. - platform: template
sensors:
hallway_blocker:
friendly_name: "Hallway Light Blocker"
value_template: >-
{{ (states.sun.sun.attributes.elevation|float > 5 and state_attr('sensor.hallway_light_motion_sensor_1_illuminance_lux', 'illuminance')|int > 30) or is_state('light.hallway_light', 'on') }} |
Wow, this looks like a really cool addon! I can think of many uses in my setup. However, while the time constraints seem very usefull, it feels a bit cumbersome to enter them for all EC instances. So either being able to only run when a more generic condition is met, or a way to enable/disable the EC via a service would be awesome. So I can e.g. enable/disable it when my Hass setup is in Home/Away or in Day/Night mode.
The text was updated successfully, but these errors were encountered: