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

hlw8012: fix constants for BL0937 (#1973)

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
Adrián Panella
2021-07-04 18:09:09 -05:00
committed by GitHub
parent 52d19fa43d
commit d31040f5d8
4 changed files with 46 additions and 12 deletions

View File

@@ -514,6 +514,7 @@ sensor:
voltage_divider: 2351
change_mode_every: 16
initial_mode: VOLTAGE
model: hlw8012
- platform: total_daily_energy
power_id: hlw8012_power
name: 'HLW8012 Total Daily Energy'