Comments (3)
Thanks for your information. The custom card does not expect English names, however by default uses the English name the Transmission component originally generated.
As HA evolved and introduced generating entity names localized, the generated names became different from the default English name. The sensor_entity_id
was meant to solve this issue. The readme of the card describes that the default sensor_entity_id is transmission. So if your instance is localized and HA or the component generates entity names accordingly then you'll have to use the sensor_entity_id
.
I'll review the readme and clarify if needed.
from transmission-card.
Hi,
Sorry to bump this issue but I just hit this... and I don't think it was solved.
I had a look at the sensor_entity_id
but if I've understood it well, it doesn't solve the problem as it is related to the suffix rather than the sensor name.
Looking into the code, for example at this line:
let download_speed = `sensor.${this.config.sensor_entity_id}_download_speed`;
doesn't solve this as my sensor (in spanish) is called sensor.transmission_velocidad_de_descarga
instead of sensor.transmission_download_speed
. The main "name" is the same, transmission
but the suffix is the piece that changes.
As I possible solution I only see adding the fields to specify each sensor manually.
PS: the solution I'm using right now is renaming entities IDs to match the ones in english.
from transmission-card.
@luixal, the solution that worked for me also was change all the sensor names for the English ones. It's the easiest workaround until a more elegant solution comes up.
from transmission-card.
Related Issues (20)
- Error handling for Transmission sensors that do not use default naming convention HOT 8
- Π‘ard goes out of bounds HOT 3
- Transmission entity default name issue HOT 2
- More customisation options HOT 3
- Icon problem HOT 2
- Add i18n support HOT 1
- DropDownMenu problem in 2022.3.0 HOT 10
- Two different integration HOT 5
- Change in transmission integration HOT 5
- Add an option to add torrent through a file HOT 5
- no sensor HOT 10
- Card not showing HOT 10
- Round speed sensor HOT 4
- Add magnet URL not working HOT 6
- Request: Option to hide the torrent list HOT 3
- Sensor names are changed in HA HOT 2
- 'no torrents' while 39 are actually active HOT 4
- change torrent list sort HOT 14
- Download folder selection HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from transmission-card.