I think it will end up not making any difference in your calculation if it has quotes but so it can be worked out can you give the code you’re using for a calculation as an example?
No. You use the correct double-quote character: ". Not two single quotes: ''. Or you could have quoted it using single-quote characters: '. So either of these would have worked:
You have to be careful of editors that change the correct double-quotes "x" into fancy, curly double-quotes “x”.
Or, like you did, you could avoid the outside quotes altogether by using multi-line YAML. But even with multi-line, there are times where you need to use quotes, so always remember you need the simple quotes, not the fancy, curly quotes.
Ahh i understand now… Honestly i didn’t know there was a difference between curly and straight double quotes I thought it had to do with the font. These are little tidbits that hard to learn for beginners… I’m using the default apple TextEdit. Thanks!
Hi I have a similar problem creating a power sensor (W) from another already in W.
If the value is positive it returns me the value, if it is negative it returns me 0
It works, but I see the "in the output and then I can’t use it in the automations.
Advice?