Fix integration sensor, add test (#619)

* Fix integration sensor, add test

* Fix

* Fix
This commit is contained in:
Otto Winter
2019-06-08 16:48:58 +02:00
parent 373f75253c
commit 2e6db39173
2 changed files with 6 additions and 3 deletions
+4
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: