mirror of
https://github.com/dlitz/esphome-configs-dlitz.git
synced 2026-04-15 22:03:26 -06:00
ntc: Rename temp_analog_reading to ntc_temp_analog_reading (ditto for temp_resistance_reading) for clarity
This commit is contained in:
@@ -9,18 +9,18 @@ sensor:
|
|||||||
unit_of_measurement: "°C"
|
unit_of_measurement: "°C"
|
||||||
accuracy_decimals: 1
|
accuracy_decimals: 1
|
||||||
icon: "mdi:thermometer"
|
icon: "mdi:thermometer"
|
||||||
sensor: temp_resistance_reading
|
sensor: ntc_temp_resistance_reading
|
||||||
calibration:
|
calibration:
|
||||||
b_constant: 3350
|
b_constant: 3350
|
||||||
reference_resistance: 10kOhm
|
reference_resistance: 10kOhm
|
||||||
reference_temperature: 298.15K
|
reference_temperature: 298.15K
|
||||||
- platform: resistance
|
- platform: resistance
|
||||||
id: temp_resistance_reading
|
id: ntc_temp_resistance_reading
|
||||||
sensor: temp_analog_reading
|
sensor: ntc_temp_analog_reading
|
||||||
configuration: DOWNSTREAM
|
configuration: DOWNSTREAM
|
||||||
resistor: 10kOhm
|
resistor: 10kOhm
|
||||||
- platform: adc
|
- platform: adc
|
||||||
id: temp_analog_reading
|
id: ntc_temp_analog_reading
|
||||||
pin: ${shelly_ntc_temperature_pin}
|
pin: ${shelly_ntc_temperature_pin}
|
||||||
attenuation: 12db
|
attenuation: 12db
|
||||||
|
# update_interval: 5s
|
||||||
|
|||||||
@@ -112,7 +112,7 @@ binary_sensor:
|
|||||||
- delayed_on_off: 50ms
|
- delayed_on_off: 50ms
|
||||||
|
|
||||||
sensor:
|
sensor:
|
||||||
- id: !extend temp_analog_reading
|
- id: !extend ntc_temp_analog_reading
|
||||||
update_interval: 5s
|
update_interval: 5s
|
||||||
- id: !extend ntc_temperature
|
- id: !extend ntc_temperature
|
||||||
on_value_range:
|
on_value_range:
|
||||||
|
|||||||
Reference in New Issue
Block a user