Commit e04d9892 authored by Rob Connolly's avatar Rob Connolly
Browse files

Grrr, entity IDs.

parent ec755339
......@@ -64,8 +64,8 @@
!secret linode_mail_server_sensor:
friendly_name: !secret linode_mail_server_friendly_name
sensor.temperatureandhumidity_3_0_2:
sensor.temperatureandhumidity_3_0:
friendly_name: "Greenhouse Humidity"
sensor.temperatureandhumidity_3_1_2:
sensor.temperatureandhumidity_3_1:
friendly_name: "Greenhouse Temperature"
......@@ -2,7 +2,7 @@
mysensors:
gateways:
- device: mqtt
persistence_file: '/config/mysensors-mqtt.json'
persistence_file: '/config/mysensors.json'
topic_in_prefix: 'mysensors/out'
topic_out_prefix: 'mysensors/in'
debug: true
......@@ -19,7 +19,7 @@ automation:
- alias: "Greenhouse High Temperature Notification"
trigger:
platform: numeric_state
entity_id: sensor.temperatureandhumidity_3_1_2
entity_id: sensor.temperatureandhumidity_3_1
above: 27
for:
minutes: 30
......@@ -31,11 +31,11 @@ automation:
service: notify.family
data_template:
title: "Greenhouse Temperature High!"
message: "The greenhouse temperature is {{ states.sensor.temperatureandhumidity_3_1_2.state }}{{ states.sensor.temperatureandhumidity_3_1_2.attributes.unit_of_measurement }}. You may wish to open the door and check if the plants need watering."
message: "The greenhouse temperature is {{ states.sensor.temperatureandhumidity_3_1.state }}{{ states.sensor.temperatureandhumidity_3_1.attributes.unit_of_measurement }}. You may wish to open the door and check if the plants need watering."
- alias: "Greenhouse Low Temperature Notification"
trigger:
platform: numeric_state
entity_id: sensor.temperatureandhumidity_3_1_2
entity_id: sensor.temperatureandhumidity_3_1
below: 11
for:
minutes: 30
......@@ -47,4 +47,4 @@ automation:
service: notify.family
data_template:
title: "Greenhouse Temperature Low!"
message: "The greenhouse temperature is {{ states.sensor.temperatureandhumidity_3_1_2.state }}{{ states.sensor.temperatureandhumidity_3_1_2.attributes.unit_of_measurement }}. You may wish to close the door."
message: "The greenhouse temperature is {{ states.sensor.temperatureandhumidity_3_1.state }}{{ states.sensor.temperatureandhumidity_3_1.attributes.unit_of_measurement }}. You may wish to close the door."
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment