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