mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 02:50:12 -04:00
A log of small fixes
This commit is contained in:
@@ -14,6 +14,12 @@ trigger:
|
||||
from: "on"
|
||||
to: "off"
|
||||
|
||||
- platform: state
|
||||
id: evening
|
||||
entity_id: binary_sensor.evening
|
||||
from: "off"
|
||||
to: "on"
|
||||
|
||||
# condition:
|
||||
# - alias: "The home is occupied"
|
||||
# condition: state
|
||||
@@ -46,3 +52,13 @@ action:
|
||||
data: {}
|
||||
target:
|
||||
entity_id: button.dreamsurface_normal_brightness
|
||||
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: evening
|
||||
|
||||
sequence:
|
||||
- action: button.press
|
||||
data: {}
|
||||
target:
|
||||
entity_id: button.dreamsurface_dim_brightness
|
||||
|
||||
@@ -6,12 +6,12 @@ id: automation_new_mail
|
||||
trigger:
|
||||
- id: new_mail
|
||||
platform: numeric_state
|
||||
entity_id: sensor.mail_usps_mail
|
||||
entity_id: sensor.imap_gmail_com_mail_usps_mail
|
||||
above: 0
|
||||
|
||||
- id: no_mail
|
||||
platform: numeric_state
|
||||
entity_id: sensor.mail_usps_mail
|
||||
entity_id: sensor.imap_gmail_com_mail_usps_mail
|
||||
below: 1
|
||||
|
||||
- platform: homeassistant
|
||||
@@ -24,7 +24,7 @@ action:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.mail_usps_mail
|
||||
entity_id: sensor.imap_gmail_com_mail_usps_mail
|
||||
above: 0
|
||||
|
||||
sequence:
|
||||
@@ -34,7 +34,7 @@ action:
|
||||
|
||||
- conditions:
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.mail_usps_mail
|
||||
entity_id: sensor.imap_gmail_com_mail_usps_mail
|
||||
below: 1
|
||||
|
||||
sequence:
|
||||
|
||||
Reference in New Issue
Block a user