mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 03:12:20 +01:00
Allow setting the initial mode of HLW8012 sensors (#611)
* Allow setting the initial mode of hlw8012 sensors * Changes as per code review
This commit is contained in:
committed by
Otto Winter
parent
e6c16e9981
commit
88ccd60a08
@@ -347,6 +347,7 @@ sensor:
|
||||
current_resistor: 0.001 ohm
|
||||
voltage_divider: 2351
|
||||
change_mode_every: 16
|
||||
initial_mode: VOLTAGE
|
||||
- platform: total_daily_energy
|
||||
power_id: hlw8012_power
|
||||
name: "HLW8012 Total Daily Energy"
|
||||
|
Reference in New Issue
Block a user