Set accuracy_decimals for sensors
This commit is contained in:
@@ -1302,6 +1302,7 @@ sensor:
|
||||
platform: ntc
|
||||
sensor: resistance_sensor
|
||||
unit_of_measurement: ${temp_units}
|
||||
internal: false
|
||||
calibration:
|
||||
b_constant: 3950
|
||||
reference_temperature: 25°C
|
||||
@@ -1352,6 +1353,7 @@ sensor:
|
||||
platform: nextion
|
||||
variable_name: dim
|
||||
precision: 0
|
||||
accuracy_decimals: 0
|
||||
unit_of_measurement: "%"
|
||||
icon: mdi:brightness-percent
|
||||
#update_interval: 60s
|
||||
@@ -1369,6 +1371,7 @@ sensor:
|
||||
platform: nextion
|
||||
variable_name: dp
|
||||
precision: 0
|
||||
accuracy_decimals: 0
|
||||
internal: true
|
||||
entity_category: diagnostic
|
||||
on_value:
|
||||
@@ -1391,6 +1394,7 @@ sensor:
|
||||
platform: nextion
|
||||
variable_name: display_mode
|
||||
precision: 0
|
||||
accuracy_decimals: 0
|
||||
internal: true
|
||||
entity_category: diagnostic
|
||||
|
||||
@@ -1400,6 +1404,7 @@ sensor:
|
||||
platform: nextion
|
||||
variable_name: charset
|
||||
precision: 0
|
||||
accuracy_decimals: 0
|
||||
internal: true
|
||||
entity_category: diagnostic
|
||||
|
||||
|
||||
Reference in New Issue
Block a user