Add unit translations for KNX integration (#131176)

* Add unit translations for KNX integration

* re-use values
This commit is contained in:
Matthias Alphart 2024-11-21 17:42:12 +01:00 committed by GitHub
parent fd392eea31
commit bd0a2b6f68
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -294,19 +294,24 @@
"name": "Connection type"
},
"telegrams_incoming": {
"name": "Incoming telegrams"
"name": "Incoming telegrams",
"unit_of_measurement": "[%key:component::knx::entity::sensor::telegram_count::unit_of_measurement%]"
},
"telegrams_incoming_error": {
"name": "Incoming telegram errors"
"name": "Incoming telegram errors",
"unit_of_measurement": "errors"
},
"telegrams_outgoing": {
"name": "Outgoing telegrams"
"name": "Outgoing telegrams",
"unit_of_measurement": "[%key:component::knx::entity::sensor::telegram_count::unit_of_measurement%]"
},
"telegrams_outgoing_error": {
"name": "Outgoing telegram errors"
"name": "Outgoing telegram errors",
"unit_of_measurement": "[%key:component::knx::entity::sensor::telegrams_incoming_error::unit_of_measurement%]"
},
"telegram_count": {
"name": "Telegrams"
"name": "Telegrams",
"unit_of_measurement": "telegrams"
}
}
},