Skip to content

Commit

Permalink
Remove COP sensors
Browse files Browse the repository at this point in the history
Can be directly read from a sensor in this variant.
  • Loading branch information
kr0ner committed Feb 13, 2025
1 parent 59098ec commit 3850249
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions yaml/wpl13.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -233,31 +233,6 @@ packages:

HEATPUMP_DATETIME: !include { file: wp_datetime.yaml }

#########################################
# #
# Template Sensors #
# #
#########################################
sensor:
- platform: template
name: "COP WW TAG"
update_interval: $interval_very_slow
state_class: "measurement"
lambda: |-
if (id(WAERMEERTRAG_WW_TAG_SUMME_KWH).state && id(EL_AUFNAHMELEISTUNG_WW_SUMME_KWH).state && id(EL_AUFNAHMELEISTUNG_WW_SUMME_KWH).state != 0.0f) {
id(gCOP_WW_TAG) = id(WAERMEERTRAG_WW_TAG_SUMME_KWH).state / id(EL_AUFNAHMELEISTUNG_WW_SUMME_KWH).state;
}
return id(gCOP_WW_TAG);
- platform: template
name: "COP HEIZ TAG"
update_interval: $interval_very_slow
state_class: "measurement"
lambda: |-
if (id(WAERMEERTRAG_HEIZ_TAG_SUMME_KWH).state && id(EL_AUFNAHMELEISTUNG_HEIZ_SUMME_KWH).state && id(EL_AUFNAHMELEISTUNG_HEIZ_SUMME_KWH).state != 0.0f) {
id(gCOP_HEIZ_TAG) = id(WAERMEERTRAG_HEIZ_TAG_SUMME_KWH).state / id(EL_AUFNAHMELEISTUNG_HEIZ_SUMME_KWH).state;
}
return id(gCOP_HEIZ_TAG);
#########################################
# #
# CANbus configuration #
Expand Down

0 comments on commit 3850249

Please sign in to comment.