Add voltage to homeassisant power sensor.

This commit is contained in:
Koenkk 2018-05-17 18:41:03 +02:00
parent 8207321c30
commit f58b0fa4f2

View File

@ -115,6 +115,7 @@ const configurations = {
unit_of_measurement: 'Watt',
icon: 'mdi:flash',
value_template: '{{ value_json.power }}',
json_attributes: ['voltage'],
},
},
'sensor_action': {