Add strings and state attrs for ZHA 3 Phase current (#132871)

* Add strings and state attrs for ZHA 3 Phase current

* Use lower case
This commit is contained in:
Abílio Costa 2025-01-21 19:04:41 +00:00 committed by GitHub
parent e4d19a41fd
commit baf5061fba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 0 deletions

View File

@ -43,6 +43,8 @@ _EXTRA_STATE_ATTRIBUTES: set[str] = {
"measurement_type",
"apparent_power_max",
"rms_current_max",
"rms_current_max_ph_b",
"rms_current_max_ph_c",
"rms_voltage_max",
"ac_frequency_max",
"power_factor_max",

View File

@ -1046,6 +1046,12 @@
"instantaneous_demand": {
"name": "Instantaneous demand"
},
"rms_current_ph_b": {
"name": "Current phase B"
},
"rms_current_ph_c": {
"name": "Current phase C"
},
"summation_delivered": {
"name": "Summation delivered"
},