diff --git a/common/shelly-ntc-temperature.yaml b/common/shelly-ntc-temperature.yaml index 0322fba..72075e5 100644 --- a/common/shelly-ntc-temperature.yaml +++ b/common/shelly-ntc-temperature.yaml @@ -9,18 +9,18 @@ sensor: unit_of_measurement: "°C" accuracy_decimals: 1 icon: "mdi:thermometer" - sensor: temp_resistance_reading + sensor: ntc_temp_resistance_reading calibration: b_constant: 3350 reference_resistance: 10kOhm reference_temperature: 298.15K - platform: resistance - id: temp_resistance_reading - sensor: temp_analog_reading + id: ntc_temp_resistance_reading + sensor: ntc_temp_analog_reading configuration: DOWNSTREAM resistor: 10kOhm - platform: adc - id: temp_analog_reading + id: ntc_temp_analog_reading pin: ${shelly_ntc_temperature_pin} attenuation: 12db - + # update_interval: 5s diff --git a/shelly-plus-1pm-ul.yaml b/shelly-plus-1pm-ul.yaml index a02661f..d04ef73 100644 --- a/shelly-plus-1pm-ul.yaml +++ b/shelly-plus-1pm-ul.yaml @@ -112,7 +112,7 @@ binary_sensor: - delayed_on_off: 50ms sensor: - - id: !extend temp_analog_reading + - id: !extend ntc_temp_analog_reading update_interval: 5s - id: !extend ntc_temperature on_value_range: