Add uv sensor to plant dashboard, update plant dashboard precision
This commit is contained in:
parent
c5f2e7b142
commit
558c73b435
|
@ -4,7 +4,7 @@ widget_dimensions: [120, 120]
|
|||
widget_size: [1, 1]
|
||||
widget_margins: [5, 5]
|
||||
columns: 6
|
||||
rows: 3
|
||||
rows: 4
|
||||
global_parameters:
|
||||
use_comma: 0
|
||||
precision: 0
|
||||
|
@ -27,4 +27,5 @@ 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
|
||||
- plant_dashboard_uva, plant_dashboard_uvb, plant_dashboard_uv_index, spacer(3x1)
|
||||
- spacer, plant_dashboard_plant_2, spacer(4x1)
|
||||
|
|
|
@ -4,7 +4,7 @@ widget_dimensions: [120, 120]
|
|||
widget_size: [1, 1]
|
||||
widget_margins: [5, 5]
|
||||
columns: 3
|
||||
rows: 5
|
||||
rows: 6
|
||||
global_parameters:
|
||||
use_comma: 0
|
||||
precision: 0
|
||||
|
@ -29,4 +29,5 @@ 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
|
||||
- plant_dashboard_uva, plant_dashboard_uvb, plant_dashboard_uv_index
|
||||
- spacer, plant_dashboard_plant_2, spacer
|
||||
|
|
|
@ -19,6 +19,7 @@ plant_dashboard_battery_level:
|
|||
entity: sensor.plant_dashboard_battery_level
|
||||
title: Battery Level
|
||||
units: '%'
|
||||
precision: 1
|
||||
|
||||
plant_dashboard_battery_voltage:
|
||||
widget_type: sensor
|
||||
|
@ -30,6 +31,7 @@ plant_dashboard_humidity:
|
|||
entity: sensor.plant_dashboard_humidity
|
||||
title: Humidity
|
||||
units: '%'
|
||||
precision: 1
|
||||
|
||||
plant_dashboard_temperature:
|
||||
widget_type: sensor
|
||||
|
@ -37,12 +39,14 @@ plant_dashboard_temperature:
|
|||
sub_entity: sensor.plant_dashboard_temperature_c
|
||||
title: Temperature
|
||||
units: '°F'
|
||||
precision: 1
|
||||
|
||||
plant_dashboard_wifi:
|
||||
widget_type: sensor
|
||||
entity: sensor.plant_dashboard_wifi
|
||||
title: WiFi Signal
|
||||
units: 'dB'
|
||||
precision: 1
|
||||
|
||||
plant_dashboard_plant_2:
|
||||
widget_type: gauge
|
||||
|
@ -51,3 +55,26 @@ plant_dashboard_plant_2:
|
|||
units: ""
|
||||
min: 250
|
||||
max: 1024
|
||||
|
||||
plant_dashboard_battery_voltage:
|
||||
widget_type: sensor
|
||||
entity: sensor.plant_dashboard_battery_voltage
|
||||
units: 'V'
|
||||
|
||||
plant_dashboard_uva:
|
||||
widget_type: sensor
|
||||
entity: sensor.plant_dashboard_uva
|
||||
title: "uva"
|
||||
precision: 1
|
||||
|
||||
plant_dashboard_uvb:
|
||||
widget_type: sensor
|
||||
entity: sensor.plant_dashboard_uvb
|
||||
title: "uvb"
|
||||
precision: 1
|
||||
|
||||
plant_dashboard_uv_index:
|
||||
widget_type: sensor
|
||||
entity: sensor.plant_dashboard_uv_index
|
||||
title: "uv index"
|
||||
precision: 1
|
||||
|
|
|
@ -31,3 +31,12 @@
|
|||
- platform: mqtt
|
||||
name: plant_dashboard_plant_2
|
||||
state_topic: "plant_dashboard/sensor/plant_2/state"
|
||||
- platform: mqtt
|
||||
name: plant_dashboard_uva
|
||||
state_topic: "plant_dashboard/sensor/uva/state"
|
||||
- platform: mqtt
|
||||
name: plant_dashboard_uvb
|
||||
state_topic: "plant_dashboard/sensor/uvb/state"
|
||||
- platform: mqtt
|
||||
name: plant_dashboard_uv_index
|
||||
state_topic: "plant_dashboard/sensor/uv_index/state"
|
||||
|
|
Loading…
Reference in New Issue