From 2a95e82c0cbd22ab0ada4a52bff83d6c57600ce5 Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Sun, 24 Apr 2022 23:31:58 +0200 Subject: [PATCH] Update plants moisture sensor Add missing automations Add missing numbers to sensors --- configuration/automations/info-battery.yaml | 4 +-- configuration/automations/info-plants.yaml | 34 ++++++++++++++++++--- configuration/configuration.yaml | 4 +-- 3 files changed, 34 insertions(+), 8 deletions(-) diff --git a/configuration/automations/info-battery.yaml b/configuration/automations/info-battery.yaml index 52d5191..7527aac 100644 --- a/configuration/automations/info-battery.yaml +++ b/configuration/automations/info-battery.yaml @@ -31,7 +31,7 @@ entity_id: sensor.ble_battery_filament_sensor - platform: numeric_state below: '10' - entity_id: sensor.ble_battery_living_room_plant + entity_id: sensor.ble_battery_living_room_plant_1 - platform: numeric_state below: '10' entity_id: sensor.ble_battery_living_room_plant_2 @@ -40,7 +40,7 @@ entity_id: sensor.ble_battery_rack_sensor - platform: numeric_state below: '10' - entity_id: sensor.ble_battery_thuja_plant + entity_id: sensor.ble_battery_thuja_plant_1 - platform: numeric_state below: '10' entity_id: sensor.ble_battery_thuja_plant_2 diff --git a/configuration/automations/info-plants.yaml b/configuration/automations/info-plants.yaml index b92d705..672143a 100644 --- a/configuration/automations/info-plants.yaml +++ b/configuration/automations/info-plants.yaml @@ -3,16 +3,16 @@ mode: single trigger: - platform: numeric_state - entity_id: sensor.ble_moisture_living_room_plant + entity_id: sensor.ble_moisture_living_room_plant_1 below: '20' - platform: numeric_state - entity_id: sensor.ble_moisture_living_room_plant + entity_id: sensor.ble_moisture_living_room_plant_1 below: '15' - platform: numeric_state - entity_id: sensor.ble_moisture_living_room_plant + entity_id: sensor.ble_moisture_living_room_plant_1 below: '10' - platform: numeric_state - entity_id: sensor.ble_moisture_living_room_plant + entity_id: sensor.ble_moisture_living_room_plant_1 below: '5' - platform: numeric_state @@ -28,6 +28,32 @@ entity_id: sensor.ble_moisture_living_room_plant_2 below: '5' + - platform: numeric_state + entity_id: sensor.ble_moisture_thuja_plant_1 + below: '20' + - platform: numeric_state + entity_id: sensor.ble_moisture_thuja_plant_1 + below: '15' + - platform: numeric_state + entity_id: sensor.ble_moisture_thuja_plant_1 + below: '10' + - platform: numeric_state + entity_id: sensor.ble_moisture_thuja_plant_1 + below: '5' + + - platform: numeric_state + entity_id: sensor.ble_moisture_thuja_plant_2 + below: '20' + - platform: numeric_state + entity_id: sensor.ble_moisture_thuja_plant_2 + below: '15' + - platform: numeric_state + entity_id: sensor.ble_moisture_thuja_plant_2 + below: '10' + - platform: numeric_state + entity_id: sensor.ble_moisture_thuja_plant_2 + below: '5' + - platform: numeric_state entity_id: sensor.ble_moisture_thuja_plant_3 below: '20' diff --git a/configuration/configuration.yaml b/configuration/configuration.yaml index eed999b..5e857ab 100644 --- a/configuration/configuration.yaml +++ b/configuration/configuration.yaml @@ -325,13 +325,13 @@ ble_monitor: mac: 'A4:C1:38:5E:F8:84' - name: 'Kettle' mac: '7C:49:EB:30:61:CE' - - name: 'Thuja Plant' + - name: 'Thuja Plant 1' mac: 'C4:7C:8D:6C:5B:25' - name: 'Thuja Plant 2' mac: 'C4:7C:8D:6C:9F:C6' - name: 'Thuja Plant 3' mac: 'C4:7C:8D:6C:9F:9B' - - name: 'Living Room Plant' + - name: 'Living Room Plant 1' mac: 'C4:7C:8D:6C:59:D0' - name: 'Living Room Plant 2' mac: 'C4:7C:8D:6C:59:D5'