Trouble Getting Values Into SVG #332
Unanswered
jodysaliba
asked this question in
Q&A
Replies: 2 comments 2 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment





Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I can't seem to get this to work. I'm attempting to get a proof of concept working just pulling in one temperature sensor value, but can't seem to get working.
Preview of SVG:

I'm using Illustrator, since I don't want to download a program solely to get this going, but it seems like there's nobody else in here that is using Illustrator (search turns up empty). There's not a menu to input an "ID" in Illustrator, but it appears that you can change the ID by naming the elements like below:
This is the output SVG from the above drawing:
As you can see, the text element itself has an ID of sensor.attic-temperature, and I put it in a group just to try to troubleshoot.
I've created a card with the following YAML:
However, the following is what I get:

I can't for the life of me figure out why the pinkish color is coming up transparent. Also, the placeholder "XX.X*" is extremely small and no value is displayed. My stylesheet is currently blank, as I just wanted to get a proof of concept going before attempting custom styles.
Beta Was this translation helpful? Give feedback.
All reactions