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

Fix integration sensor, add test (#619)

* Fix integration sensor, add test

* Fix

* Fix
This commit is contained in:
Otto Winter
2019-06-06 15:06:02 +02:00
committed by GitHub
parent 4d00dfd308
commit 1bd408937a
2 changed files with 6 additions and 3 deletions

View File

@@ -350,6 +350,10 @@ sensor:
- platform: total_daily_energy
power_id: hlw8012_power
name: "HLW8012 Total Daily Energy"
- platform: integration
sensor: hlw8012_power
name: "Integration Sensor"
time_unit: s
- platform: hmc5883l
address: 0x68
field_strength_x: