mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 16:27:19 +00:00
Remove incorrect truth table
This commit is contained in:
parent
23b8d0680c
commit
44ec6aeaca
@ -139,23 +139,6 @@ condition:
|
||||
before: sunrise
|
||||
```
|
||||
|
||||
Here is a truth table to clarify the parameters with and without offset:
|
||||
|
||||
| command | night | at sunrise | daytime | at sunset |
|
||||
| ---------------------------------- | ------------ |:-----------:| ------- |:----------:|
|
||||
| `after: sunset` | True | ⇒ | False | ⇒ |
|
||||
| + `after_offset: "01:00:00"` | True | ⇒ | False | **+1h** |
|
||||
| + `after_offset: "-01:00:00"` | True | ⇒ | False | **-1h** |
|
||||
| `before: sunset` | False | ⇒ | True | ⇒ |
|
||||
| + `before_offset: "01:00:00"` | False | ⇒ | True | **+1h** |
|
||||
| + `before_offset: "-01:00:00"` | False | ⇒ | True | **-1h** |
|
||||
| `after: sunrise` | False | ⇒ | True | ⇒ |
|
||||
| + `after_offset: "01:00:00"` | False | **+1h** | True | ⇒ |
|
||||
| + `after_offset: "-01:00:00"` | False | **-1h** | True | ⇒ |
|
||||
| `before: sunrise` | True | ⇒ | False | ⇒ |
|
||||
| + `before_offset: "01:00:00"` | True | **+1h** | False | ⇒ |
|
||||
| + `before_offset: "-01:00:00"` | True | **-1h** | False | ⇒ |
|
||||
|
||||
### {% linkable_title Template condition %}
|
||||
|
||||
The template condition will test if the [given template][template] renders a value equal to true. This is achieved by having the template result in a true boolean expression or by having the template render 'true'.
|
||||
|
Loading…
x
Reference in New Issue
Block a user