From 52a899c1f9719463cd252d9f073c32c43068abbd Mon Sep 17 00:00:00 2001 From: KemoNine Date: Mon, 27 May 2019 17:45:18 +0000 Subject: [PATCH] Add initial plant sensor to dashboards and home assistant --- appdaemon/dashboards/Plant_Monitor.dash | 1 + appdaemon/dashboards/Plant_Monitor_Mobile.dash | 3 ++- appdaemon/dashboards/plant_dashboard.yaml | 8 ++++++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/appdaemon/dashboards/Plant_Monitor.dash b/appdaemon/dashboards/Plant_Monitor.dash index e59f889..038428c 100644 --- a/appdaemon/dashboards/Plant_Monitor.dash +++ b/appdaemon/dashboards/Plant_Monitor.dash @@ -27,3 +27,4 @@ layout: - include: plant_dashboard - nav_main, clock(2x1), nav_mobile, nav_back, reload - plant_dashboard_status, plant_dashboard_temperature, plant_dashboard_humidity, plant_dashboard_battery_alert, plant_dashboard_battery_level, plant_dashboard_wifi + - spacer, plant_dashboard_plant_2, spacer(4x1) diff --git a/appdaemon/dashboards/Plant_Monitor_Mobile.dash b/appdaemon/dashboards/Plant_Monitor_Mobile.dash index 5d4e9c7..961c148 100644 --- a/appdaemon/dashboards/Plant_Monitor_Mobile.dash +++ b/appdaemon/dashboards/Plant_Monitor_Mobile.dash @@ -4,7 +4,7 @@ widget_dimensions: [120, 120] widget_size: [1, 1] widget_margins: [5, 5] columns: 3 -rows: 4 +rows: 5 global_parameters: use_comma: 0 precision: 0 @@ -29,3 +29,4 @@ layout: - nav_desktop, clock(2x1) - plant_dashboard_status, plant_dashboard_temperature, plant_dashboard_humidity - plant_dashboard_battery_alert, plant_dashboard_battery_level, plant_dashboard_wifi + - spacer, plant_dashboard_plant_2, spacer \ No newline at end of file diff --git a/appdaemon/dashboards/plant_dashboard.yaml b/appdaemon/dashboards/plant_dashboard.yaml index 31b5576..a80c683 100644 --- a/appdaemon/dashboards/plant_dashboard.yaml +++ b/appdaemon/dashboards/plant_dashboard.yaml @@ -43,3 +43,11 @@ plant_dashboard_wifi: entity: sensor.plant_dashboard_wifi title: WiFi Signal units: 'dB' + +plant_dashboard_plant_2: + widget_type: gauge + entity: sensor.plant_dashboard_plant_2 + title: Plant 2 + units: "" + min: 250 + max: 1024