Comments (2)
Hmm, I think with automoli itself that would not work currently. Your configuration would probably lead to the question if that's an "and" or "or" condition and we would end up implementing both :D
But maybe there is a cooler way that makes it immediately working... What about a template binary_sensor in home assistant?
They already have a fully implemented templating system with conditions and everything else... something like this (untested, but you get the point):
binary_sensor:
- platform: template
sensors:
automoli_combined_switch:
value_template: "{{ not (is_state('switch.fernseher', 'on') and is_state('input_boolean.automoli', 'off')) }}"
Or are there any reasons this wouldn't work?
from ad-automoli.
That’s actually a good idea! Totally did not cross my mind! Will try that thank you!
from ad-automoli.
Related Issues (20)
- Option to set times when automoli does not control the light HOT 5
- ImportError: cannot import name 'Room' from 'adutils' HOT 1
- Does not work when there is only a single daytime HOT 1
- TypeError: float() argument must be a string or a real number, not 'NoneType' HOT 1
- Problem with Appdaemon Version 0.12.0 HOT 5
- Unexpected error in worker for App HOT 2
- TypeError since AppDaemon 4.4.2 HOT 2
- Covers
- Add transition for switch to night mode
- [Feature Request] Add new trigger: Smart wall switches as remote for smart bulbs. HOT 1
- AttributeError HOT 2
- Room Error after install Update HOT 4
- Distinguish between weekdays and weekends HOT 2
- Undocumented motion sensor name format expection HOT 3
- Unclear documentation for light value HOT 2
- Suggest different default behaviour for daytimes
- Error setting up automoli when omitting daytimes twice HOT 2
- Automoli broken? HOT 1
- "Bad status line 'SIP/2.0'"
- Upgrading HA AppDaemon addon to 0.8.0 (4.2.0 AppDaemon) breaks AutoMoLi HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ad-automoli.