Add remaining strings and state attrs for ZHA 3 phase

pull/133969/head
abmantis 2024-12-24 17:11:31 +00:00
parent 109a6a428d
commit dda1404716
2 changed files with 26 additions and 2 deletions

View File

@ -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",

View File

@ -1025,6 +1025,12 @@
}
},
"sensor": {
"active_power_ph_b": {
"name": "Power phase B"
},
"active_power_ph_c": {
"name": "Power phase C"
},
"analog_input": {
"name": "Analog input"
},
@ -1040,11 +1046,23 @@
"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"
"name": "Current phase B"
},
"rms_current_ph_c": {
"name": "Current Phase 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"