Skip to content

Commit

Permalink
Sorry - missed another item
Browse files Browse the repository at this point in the history
Now day_energy is back to a fixed value of kWh.
  • Loading branch information
safepay committed Mar 29, 2020
1 parent d329429 commit e62c3fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/fronius_inverter/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
'year_energy': ['inverter', True, 'YEAR_ENERGY', 'Year Energy', 'MWh', 'energy', 'mdi:solar-power'],
'total_energy': ['inverter', True, 'TOTAL_ENERGY', 'Total Energy', 'MWh', 'energy', 'mdi:solar-power'],
'ac_power': ['inverter', True, 'PAC', 'AC Power', 'W', 'power', 'mdi:solar-power'],
'day_energy': ['inverter', True, 'DAY_ENERGY', 'Day Energy', 'kWh', 'energy', 'mdi:solar-power'],
'day_energy': ['inverter', True, 'DAY_ENERGY', 'Day Energy', 'kWh', False, 'mdi:solar-power'],
'ac_current': ['inverter', False, 'IAC', 'AC Current', 'A', False, 'mdi:solar-power'],
'ac_voltage': ['inverter', False, 'UAC', 'AC Voltage', 'V', False, 'mdi:solar-power'],
'ac_frequency': ['inverter', False, 'FAC', 'AC Frequency', 'Hz', False, 'mdi:solar-power'],
Expand Down Expand Up @@ -75,7 +75,7 @@
vol.Optional(CONF_NAME, default='Fronius'): cv.string,
vol.Optional(CONF_SCOPE, default='Device'):
vol.In(SCOPE_TYPES),
vol.Optional(CONF_UNITS, default='kWh'):
vol.Optional(CONF_UNITS, default='MWh'):
vol.In(UNIT_TYPES),
vol.Optional(CONF_POWER_UNITS, default='W'):
vol.In(POWER_UNIT_TYPES),
Expand Down

0 comments on commit e62c3fd

Please sign in to comment.