Skip to content

Commit 2ff2c5a

Browse files
authored
Update pzemac.h
...
1 parent 71a9bfd commit 2ff2c5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

esphome/components/pzemac/pzemac.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ class PZEMAC : public PollingComponent, public modbus::ModbusDevice {
3838

3939
void reset_energy_();
4040

41-
uint32_t p_last_update_time_;
42-
float p_last_energy_sensor;
41+
uint32_t lastupdatetime_;
42+
float lastenergysensor_;
4343
};
4444

4545
template<typename... Ts> class ResetEnergyAction : public Action<Ts...> {

0 commit comments

Comments
 (0)