Skip to content

Commit

Permalink
Add unit translations for KNX integration (#131176)
Browse files Browse the repository at this point in the history
* Add unit translations for KNX integration

* re-use values
  • Loading branch information
farmio authored Nov 21, 2024
1 parent fd392ee commit bd0a2b6
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions homeassistant/components/knx/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
},
Expand Down

0 comments on commit bd0a2b6

Please sign in to comment.