Closed Repsionu closed 7 months ago
Hello. For the names that are available in the API only as indexes, like txtId
here:
'params': {
'description': 'Temperature sensor',
'workingStatus': True,
'txtId': 795,
'value': 52,
'batteryLevel': 96,
'signalStrength': 67
we automatically get the translation from the API, from https://emodul.pl/api/v1/i18n/[lang]
, for example https://emodul.pl/api/v1/i18n/pl or https://emodul.pl/api/v1/i18n/en
There is no other way to get the name as all we get is an index.
So this is unlikely to change. I would suggest to just use HA and edit the name to what you need, name or even entity_id:
Thanks and this I was afraid of :-( But anyway this is not a big deal as it does not affect functionality :-) Best, JR
The request
For HA state of sensors and their naming come from TECH API- and they are AWFUL :-( For instance 'Controller state' is translated to something like 'Controller country' :-) Is there any way to modify them? Best, JR
Additional information
No response