mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Add volt/power/power_factor strings and state attrs for ZHA 3 phase meters (#133969)
This commit is contained in:
parent
51ce6f0933
commit
c46258fbf7
@ -46,9 +46,15 @@ _EXTRA_STATE_ATTRIBUTES: set[str] = {
|
|||||||
"rms_current_max_ph_b",
|
"rms_current_max_ph_b",
|
||||||
"rms_current_max_ph_c",
|
"rms_current_max_ph_c",
|
||||||
"rms_voltage_max",
|
"rms_voltage_max",
|
||||||
|
"rms_voltage_max_ph_b",
|
||||||
|
"rms_voltage_max_ph_c",
|
||||||
"ac_frequency_max",
|
"ac_frequency_max",
|
||||||
"power_factor_max",
|
"power_factor_max",
|
||||||
|
"power_factor_max_ph_b",
|
||||||
|
"power_factor_max_ph_c",
|
||||||
"active_power_max",
|
"active_power_max",
|
||||||
|
"active_power_max_ph_b",
|
||||||
|
"active_power_max_ph_c",
|
||||||
# Smart Energy metering
|
# Smart Energy metering
|
||||||
"device_type",
|
"device_type",
|
||||||
"status",
|
"status",
|
||||||
|
@ -1031,6 +1031,12 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"sensor": {
|
"sensor": {
|
||||||
|
"active_power_ph_b": {
|
||||||
|
"name": "Power phase B"
|
||||||
|
},
|
||||||
|
"active_power_ph_c": {
|
||||||
|
"name": "Power phase C"
|
||||||
|
},
|
||||||
"analog_input": {
|
"analog_input": {
|
||||||
"name": "Analog input"
|
"name": "Analog input"
|
||||||
},
|
},
|
||||||
@ -1046,12 +1052,24 @@
|
|||||||
"instantaneous_demand": {
|
"instantaneous_demand": {
|
||||||
"name": "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": {
|
"rms_current_ph_b": {
|
||||||
"name": "Current phase B"
|
"name": "Current phase B"
|
||||||
},
|
},
|
||||||
"rms_current_ph_c": {
|
"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": {
|
"summation_delivered": {
|
||||||
"name": "Summation delivered"
|
"name": "Summation delivered"
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user