Add voltage per phase (#21319)

This commit is contained in:
Benny de Leeuw 2019-02-23 15:57:54 +01:00 committed by Fabian Affolter
parent 2f7b4ed7f0
commit 197303b63e

View file

@ -147,6 +147,18 @@ async def async_setup_platform(hass, config, async_add_entities,
'Voltage Swells Phase L3',
obis_ref.VOLTAGE_SWELL_L3_COUNT
],
[
'Voltage Phase L1',
obis_ref.INSTANTANEOUS_VOLTAGE_L1
],
[
'Voltage Phase L2',
obis_ref.INSTANTANEOUS_VOLTAGE_L2
],
[
'Voltage Phase L3',
obis_ref.INSTANTANEOUS_VOLTAGE_L3
],
]
# Generate device entities