[sensor] Add alternate calibration format for ntc (#15937)

This commit is contained in:
Clyde Stubbs
2026-05-07 06:59:22 +10:00
committed by GitHub
parent 004aa49131
commit 9301f76482
5 changed files with 50 additions and 16 deletions

View File

@@ -202,6 +202,11 @@ sensor:
value: last
- timeout:
timeout: 1d
- to_ntc_temperature:
calibration:
b_constant: 3950
reference_temperature: 25.0°C
reference_resistance: 10kOhm
- to_ntc_resistance:
calibration:
- 10.0kOhm -> 25°C
@@ -270,8 +275,6 @@ cover:
stop_action:
- logger.log: stop_action
optimistic: true
on_open:
- logger.log: "Cover on_open (deprecated)"
on_opened:
- logger.log: "Cover fully opened"
on_closed: