This commit is contained in:
@@ -339,3 +339,46 @@ template:
|
||||
state: >-
|
||||
{% set a = states('sensor.pfv_garage_pdu_output_current') | float(-1) %}
|
||||
{{ (a * 120) | round(0) if a >= 0 }}
|
||||
|
||||
# --- Rate-of-change early warning (#682): +10°F/15min = AC trouble [#344] ---
|
||||
binary_sensor:
|
||||
- platform: trend
|
||||
sensors:
|
||||
server_room_temp_rising:
|
||||
entity_id: sensor.pfv_tsys1_rack_temperature
|
||||
sample_duration: 900
|
||||
min_gradient: 0.011
|
||||
unique_id: trend_server_room_rising
|
||||
tsys6_ambient_rising:
|
||||
entity_id: sensor.pfv_tsys6_drac_ambient
|
||||
sample_duration: 900
|
||||
min_gradient: 0.011
|
||||
unique_id: trend_tsys6_ambient_rising
|
||||
tsys7_inlet_rising:
|
||||
entity_id: sensor.pfv_tsys7_drac_inlet
|
||||
sample_duration: 900
|
||||
min_gradient: 0.011
|
||||
unique_id: trend_tsys7_inlet_rising
|
||||
garage_temp_rising:
|
||||
entity_id: sensor.pfv_garage_temperature
|
||||
sample_duration: 900
|
||||
min_gradient: 0.011
|
||||
unique_id: trend_garage_rising
|
||||
|
||||
# --- Garage PDU energy (kWh) from watts [#344] ---
|
||||
sensor:
|
||||
- platform: integration
|
||||
source: sensor.pfv_garage_pdu_power
|
||||
name: pfv garage PDU energy
|
||||
round: 2
|
||||
unit_prefix: k
|
||||
unit_time: h
|
||||
method: left
|
||||
unique_id: pfv_garage_pdu_energy
|
||||
|
||||
utility_meter:
|
||||
garage_pdu_daily:
|
||||
source: sensor.pfv_garage_pdu_energy
|
||||
name: Garage PDU daily energy
|
||||
unique_id: garage_pdu_daily_energy
|
||||
cycle: daily
|
||||
|
||||
Reference in New Issue
Block a user