Add citrus automations
This commit is contained in:
parent
c5e264fec9
commit
48c4441893
24
configuration/automations/balcony-plants.yaml
Normal file
24
configuration/automations/balcony-plants.yaml
Normal file
@ -0,0 +1,24 @@
|
||||
- id: balcony-warning-citrus
|
||||
alias: "[Balcony](Citrus) Warning about cold weather"
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: time
|
||||
at: "20:00:00"
|
||||
action:
|
||||
- service: weather.get_forecasts
|
||||
metadata: { }
|
||||
data:
|
||||
type: daily
|
||||
target:
|
||||
entity_id: weather.home
|
||||
response_variable: forecast
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: template
|
||||
value_template: "{{ forecast['weather.home'].forecast[1].templow < 5.1 }}"
|
||||
sequence:
|
||||
- service: notify.mobile_app_iphone
|
||||
metadata: { }
|
||||
data_template:
|
||||
title: "Low temperature tomorrow"
|
||||
message: "Tomorrow's temperature is too low for citrus (Low {{ forecast['weather.home'].forecast[1].templow }}). Take it back to home"
|
@ -392,3 +392,14 @@ cover:
|
||||
entities:
|
||||
- cover.office_blind_left
|
||||
- cover.office_blind_right
|
||||
|
||||
plant:
|
||||
citrus:
|
||||
sensors:
|
||||
temperature: sensor.citrus_sensor_temperature
|
||||
moisture: sensor.citrus_sensor_moisture
|
||||
brightness: sensor.citrus_sensor_illuminance
|
||||
conductivity: sensor.citrus_sensor_conductivity
|
||||
battery: sensor.citrus_sensor_battery
|
||||
min_moisture: 30
|
||||
max_moisture: 50
|
||||
|
Loading…
Reference in New Issue
Block a user