Add Garden Package
This commit is contained in:
6
packages/garden/README.md
Normal file
6
packages/garden/README.md
Normal file
@@ -0,0 +1,6 @@
|
||||
# Garden Package
|
||||
|
||||
This package contains configuration information for garden sensors. The Plaid
|
||||
Spruce Sensors should be joined via ZHA or Z2M and available as
|
||||
`sensor.pepper_soil_sensor_mqtt_humidity` and
|
||||
`sensor.tomato_soil_sensor_mqtt_humidity`.
|
||||
26
packages/garden/garden.yaml
Normal file
26
packages/garden/garden.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
# Garden Package
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Garden Automations
|
||||
automation:
|
||||
|
||||
# Notify on Low Soil Moisture
|
||||
- alias: Notify on Low Soil Moisture
|
||||
mode: queued
|
||||
trigger:
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.pepper_soil_sensor_mqtt_humidity
|
||||
below: 15
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.tomato_soil_sensor_mqtt_humidity
|
||||
below: 15
|
||||
action:
|
||||
- service: persistent_notification.create
|
||||
data:
|
||||
title: Low Soil Mosture
|
||||
message: >
|
||||
Low Soil Moisture on {{ trigger.from_state.attributes.friendly_name }}
|
||||
- service: notify.general
|
||||
data:
|
||||
message: >
|
||||
Low Soil Moisture on {{ trigger.from_state.attributes.friendly_name }}
|
||||
Reference in New Issue
Block a user