Comments (10)
Hey,
Have the same problem, the problem seems to be when the setting "display_mode: full" is used, if you remove it, the card will work. The features from "display_mode: full" are nice though...
from transmission-card.
Try to clear your browser cache and reload the UI.
Try to see in the browser's Developer Tools->Console if there are any errors related to this card.
from transmission-card.
I tried different browsers on different OS. Console is empty
from transmission-card.
Please make sure you have the sensors sensor.transmission_* under Developer Tools -> States.
I just tried it in my test env and it works as expected:
You may post your transmission card configuration.
from transmission-card.
If I go to the integrations menu, the card is shown correctly until I refresh the page. Everything was working fine until I updated to 2023.3...
from transmission-card.
Hey,
Have the same problem, the problem seems to be when the setting "display_mode: full" is used, if you remove it, the card will work. The features from "display_mode: full" are nice though...
Yes, I can confirm. If remove full mode, then it works correctly
from transmission-card.
@royto , do you know why the Transmission card's line 104
(https://github.com/amaximus/transmission-card/blob/main/transmission-card.js#L104) in full mode throws the following error?
transmission-card.js:104 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'state')
at TransmissionCard._getConfigEntry (transmission-card.js:104:65)
at TransmissionCard.renderTorrentButton (transmission-card.js:239:15)
at TransmissionCard.renderTorrentFull (transmission-card.js:233:14)
at transmission-card.js:160:50
at Array.map (<anonymous>)
at TransmissionCard.render (transmission-card.js:160:30)
at TransmissionCard.update (lit-element.ts:160:24)
at TransmissionCard.performUpdate (reactive-element.ts:1331:14)
at TransmissionCard.scheduleUpdate (reactive-element.ts:1263:17)
at TransmissionCard._$Ej (reactive-element.ts:1235:25)
from transmission-card.
Hi, seems that _entityRegistryDisplay
has been renamed to _entityRegistryDisplay
switching to
const entityRegistry = this.hass.connection._entityRegistryDisplay.state.entities.find( x => x.ei = 'sensor.transmission_status' && x.pl === 'transmission')
if (entityRegistry) {
return entityRegistry.di;
}
resolve the issue of displaying the card but start stop torrent seems to not work anymore ....
I'll take a look later to try to fix this
from transmission-card.
I think I found a way to fix this. I'll create a PR soon
from transmission-card.
Thanks.
from transmission-card.
Related Issues (20)
- Increase the contrast on the progress bars HOT 3
- Not Transmission, But how possible will it be to create this for SABNZB? HOT 12
- A few suggestions HOT 3
- Overcomplicated HOT 2
- [not an issue] For the author
- 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
- Round speed sensor HOT 4
- Add magnet URL not working HOT 6
- Request: Option to hide the torrent list HOT 3
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.