Comments (9)
Could you post the card's config, and a screenshot of the developertools, states page, filtered for one of the value_sensors configured in the card?
from compass-card.
type: custom:compass-card
indicator_sensors:
- sensor: input_number.Test_Windrichtung
indicator:
type: arrow_inward
color: red
value_sensors:
- sensor: sensor.Test_Windgeschwindigkeit
decimals: 1
- sensor: sensor.Test_Windboeengeschwindigkeit
decimals: 1
compass:
circle: null
east:
show: true
west:
show: true
south:
show: true
north:
show: true
language: de
Working now with a trick, adding 0.001 to value!
;-)
Rgds
Uwe
from compass-card.
Thanks, if possible, please screenshot this Home-Assistant page (see my screenshot below)
Which shows the following sensors at the moment the card shows invalid:
P.S. I edited you post to format the yaml config.
from compass-card.
For your Info, Iām using ioBroker!
from compass-card.
In ioBroker you can see in objects the 0 instead of invalid.
Send you above.
from compass-card.
For your Info, Iām using ioBroker!
So if I'm understanding correctly, you're using ioBroker with something like lovelace adapter for ioBroker and added the compass-card to that? That is something that I wouldn't have thought of people using the card like that.
I pinpointed the bug, this is only happening when you add a configuration option for a sensor.
When you remove the decimals: 1
line the card will show 0. However then you might end up with more decimals then you'd like.
from compass-card.
When removing decimals: 1 you will get an uprounded value!
0,4 km/h --> 1 km/h
The problem is ony the 0 !
from compass-card.
I understand.
In my dashboard the 0 value works, so I could not figure out why it was not working for you. But I am not rounding the value and then it shows 0, so the bug is somewhere in dealing with the decimals, or even other configuration settings beloning to the sensor that has value 0.
Bug is noted and I'll look into finding a fix.
from compass-card.
I'm not able to reproduce this. So I will close this issue.
from compass-card.
Related Issues (20)
- Are these possible? HOT 1
- Are these possible? HOT 1
- Indicator object icon selectable HOT 4
- Templating HOT 1
- Compass abbreviation not hiding and not colored HOT 4
- Second compass ring HOT 5
- Two enhancement suggestions
- tap_action HOT 2
- Ability to add labels to indicators HOT 2
- The displayed wind direction does not match the sensor. HOT 2
- Addendum to #864 HOT 6
- Set image ( entity_picture_template ) as indicator type HOT 1
- tap_action navigate HOT 2
- Fontsize Option for a 2nd Value Sensor... HOT 2
- FR: Wind Direction Arrow in center of the card HOT 1
- Image size HOT 2
- This is what I want HOT 1
- Number of decimals shown HOT 4
- Wrong direction ? 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 compass-card.