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:
+29
-21
@@ -542,36 +542,44 @@ sensor:
|
|||||||
method: left
|
method: left
|
||||||
unique_id: pfv_garage_pdu_energy
|
unique_id: pfv_garage_pdu_energy
|
||||||
|
|
||||||
# --- Rate-of-change early warning (#682): +10°F/15min = AC trouble [#344] ---
|
# --- 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
|
# 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 sensors false-tripped TEMP RISING FAST (05:02 CDT, tsys6). Trend
|
||||||
# Trend inputs are 5-min time-weighted moving averages — real climbs survive
|
# inputs are 5-min time-weighted moving averages (legacy filter SENSOR
|
||||||
# the smoothing, quantization flapping does not.
|
# platform — a top-level `filter:` key cannot be merged from packages).
|
||||||
filter:
|
# Real climbs survive the smoothing, quantization flapping does not.
|
||||||
- platform: time_simple_moving_average
|
- platform: filter
|
||||||
name: "PFV tsys1 rack temperature smoothed"
|
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
|
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"
|
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
|
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"
|
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
|
unique_id: pfv_tsys7_drac_inlet_smoothed
|
||||||
- platform: time_simple_moving_average
|
entity_id: sensor.pfv_tsys7_drac_inlet
|
||||||
name: "PFV garage temperature smoothed"
|
filters:
|
||||||
entity_id: sensor.pfv_garage_temperature
|
- filter: time_simple_moving_average
|
||||||
window: "00:05:00"
|
window: "00:05"
|
||||||
precision: 2
|
precision: 2
|
||||||
|
- platform: filter
|
||||||
|
name: "PFV garage temperature smoothed"
|
||||||
unique_id: pfv_garage_temperature_smoothed
|
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:
|
binary_sensor:
|
||||||
- platform: trend
|
- platform: trend
|
||||||
|
|||||||
@@ -24,14 +24,15 @@ input_boolean:
|
|||||||
# mid-test silently reverts these to the safe defaults (armed OFF,
|
# mid-test silently reverts these to the safe defaults (armed OFF,
|
||||||
# dry-run ON). Safe direction, but re-arm after any restart during the
|
# dry-run ON). Safe direction, but re-arm after any restart during the
|
||||||
# supervised Sept 11-12 live test.
|
# supervised Sept 11-12 live test.
|
||||||
|
# (no description: keys — input_boolean rejects them, 2026-09-06)
|
||||||
pfv_ups_shutdown_armed:
|
pfv_ups_shutdown_armed:
|
||||||
|
# Founder arm. ON + dry-run OFF = real shutdown dispatch.
|
||||||
name: UPS shutdown chain ARMED
|
name: UPS shutdown chain ARMED
|
||||||
description: Founder-level arm. ON + dry-run OFF = real shutdown dispatch.
|
|
||||||
icon: mdi:power-standby
|
icon: mdi:power-standby
|
||||||
initial: false
|
initial: false
|
||||||
pfv_ups_shutdown_dry_run:
|
pfv_ups_shutdown_dry_run:
|
||||||
|
# ON (default) = log/page the plan only, touch nothing.
|
||||||
name: UPS shutdown DRY RUN
|
name: UPS shutdown DRY RUN
|
||||||
description: ON (default) = log/page the plan only, touch nothing.
|
|
||||||
icon: mdi:numeric-1-box-outline
|
icon: mdi:numeric-1-box-outline
|
||||||
initial: true
|
initial: true
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user