Discover Home Assistant energy sensor for NET2GRID N2G-SP. #3909

This commit is contained in:
Koen Kanters
2020-07-15 23:17:54 +02:00
parent ff1a64b192
commit ee9aedd0f3
+1 -1
View File
@@ -1160,7 +1160,7 @@ const mapping = {
'3315-G': [
cfg.sensor_temperature, cfg.sensor_battery, cfg.binary_sensor_water_leak,
],
'N2G-SP': [cfg.sensor_power, cfg.switch],
'N2G-SP': [cfg.sensor_power, cfg.switch, cfg.sensor_energy],
'AC0363900NJ': [cfg.light_brightness_colortemp_colorxy],
'LXZB-02A': [cfg.light_brightness],
'GL-S-004Z': [cfg.light_brightness_colortemp],