1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 03:12:20 +01:00

Add energy to pzemdc (#3626)

* added energy to pzemdc

* fixed calculation

* added test

* moved tests

---------

Co-authored-by: Andreas Hergert <andreas.hergert@otrs.com>
This commit is contained in:
Andreas Hergert
2023-02-23 18:38:34 +01:00
committed by GitHub
parent 6704b2cedf
commit 4d674392e8
5 changed files with 24 additions and 1 deletions

View File

@@ -583,6 +583,8 @@ sensor:
name: PZEMDC Current
power:
name: PZEMDC Power
energy:
name: PZEMDC Energy
- platform: tmp102
name: TMP102 Temperature
- platform: hm3301

View File

@@ -477,7 +477,6 @@ sensor:
acceleration_mode: low
store_baseline: true
address: 0x69
- platform: mcp9600
thermocouple_type: K
hot_junction: