Skip to content
Snippets Groups Projects
Unverified Commit c46258fb authored by Abílio Costa's avatar Abílio Costa Committed by GitHub
Browse files

Add volt/power/power_factor strings and state attrs for ZHA 3 phase meters (#133969)

parent 51ce6f09
No related branches found
No related tags found
No related merge requests found
......@@ -46,9 +46,15 @@ _EXTRA_STATE_ATTRIBUTES: set[str] = {
"rms_current_max_ph_b",
"rms_current_max_ph_c",
"rms_voltage_max",
"rms_voltage_max_ph_b",
"rms_voltage_max_ph_c",
"ac_frequency_max",
"power_factor_max",
"power_factor_max_ph_b",
"power_factor_max_ph_c",
"active_power_max",
"active_power_max_ph_b",
"active_power_max_ph_c",
# Smart Energy metering
"device_type",
"status",
......
......@@ -1031,6 +1031,12 @@
}
},
"sensor": {
"active_power_ph_b": {
"name": "Power phase B"
},
"active_power_ph_c": {
"name": "Power phase C"
},
"analog_input": {
"name": "Analog input"
},
......@@ -1046,12 +1052,24 @@
"instantaneous_demand": {
"name": "Instantaneous demand"
},
"power_factor_ph_b": {
"name": "Power factor phase B"
},
"power_factor_ph_c": {
"name": "Power factor phase C"
},
"rms_current_ph_b": {
"name": "Current phase B"
},
"rms_current_ph_c": {
"name": "Current phase C"
},
"rms_voltage_ph_b": {
"name": "Voltage phase B"
},
"rms_voltage_ph_c": {
"name": "Voltage phase C"
},
"summation_delivered": {
"name": "Summation delivered"
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment