fix(plant): filter sensors via legacy filter platform; drop input_boolean description
ci / lint (push) Successful in 39s
ci / lint (push) Successful in 39s
Top-level 'filter:' cannot merge from packages (expected dict); the booleans rejected 'description'. Both found live in the 12:38 deploy: package booleans + smoothed sensors failed to materialize. Meat: https://projects.knownelement.com/issues/344#comment
This commit is contained in:
+30
-22
@@ -542,36 +542,44 @@ sensor:
|
||||
method: left
|
||||
unique_id: pfv_garage_pdu_energy
|
||||
|
||||
# --- Rate-of-change early warning (#682): +10°F/15min = AC trouble [#344] ---
|
||||
# DRAC sensors quantize to whole °C and FLAP ~1.8°F between polls; raw-fed
|
||||
# trend sensors false-tripped TEMP RISING FAST (2026-09-06 05:02 CDT, tsys6).
|
||||
# Trend inputs are 5-min time-weighted moving averages — real climbs survive
|
||||
# the smoothing, quantization flapping does not.
|
||||
filter:
|
||||
- platform: time_simple_moving_average
|
||||
# --- Smoothed ambient feeds for the trend sensors (2026-09-06) ---
|
||||
# DRAC sensors quantize to whole °C and FLAP ~1.8°F between polls; raw-fed
|
||||
# trend sensors false-tripped TEMP RISING FAST (05:02 CDT, tsys6). Trend
|
||||
# inputs are 5-min time-weighted moving averages (legacy filter SENSOR
|
||||
# platform — a top-level `filter:` key cannot be merged from packages).
|
||||
# Real climbs survive the smoothing, quantization flapping does not.
|
||||
- platform: filter
|
||||
name: "PFV tsys1 rack temperature smoothed"
|
||||
entity_id: sensor.pfv_tsys1_rack_temperature
|
||||
window: "00:05:00"
|
||||
precision: 2
|
||||
unique_id: pfv_tsys1_rack_temperature_smoothed
|
||||
- platform: time_simple_moving_average
|
||||
entity_id: sensor.pfv_tsys1_rack_temperature
|
||||
filters:
|
||||
- filter: time_simple_moving_average
|
||||
window: "00:05"
|
||||
precision: 2
|
||||
- platform: filter
|
||||
name: "PFV tsys6 DRAC ambient smoothed"
|
||||
entity_id: sensor.pfv_tsys6_drac_ambient
|
||||
window: "00:05:00"
|
||||
precision: 2
|
||||
unique_id: pfv_tsys6_drac_ambient_smoothed
|
||||
- platform: time_simple_moving_average
|
||||
entity_id: sensor.pfv_tsys6_drac_ambient
|
||||
filters:
|
||||
- filter: time_simple_moving_average
|
||||
window: "00:05"
|
||||
precision: 2
|
||||
- platform: filter
|
||||
name: "PFV tsys7 DRAC inlet smoothed"
|
||||
entity_id: sensor.pfv_tsys7_drac_inlet
|
||||
window: "00:05:00"
|
||||
precision: 2
|
||||
unique_id: pfv_tsys7_drac_inlet_smoothed
|
||||
- platform: time_simple_moving_average
|
||||
entity_id: sensor.pfv_tsys7_drac_inlet
|
||||
filters:
|
||||
- filter: time_simple_moving_average
|
||||
window: "00:05"
|
||||
precision: 2
|
||||
- platform: filter
|
||||
name: "PFV garage temperature smoothed"
|
||||
entity_id: sensor.pfv_garage_temperature
|
||||
window: "00:05:00"
|
||||
precision: 2
|
||||
unique_id: pfv_garage_temperature_smoothed
|
||||
entity_id: sensor.pfv_garage_temperature
|
||||
filters:
|
||||
- filter: time_simple_moving_average
|
||||
window: "00:05"
|
||||
precision: 2
|
||||
|
||||
binary_sensor:
|
||||
- platform: trend
|
||||
|
||||
Reference in New Issue
Block a user