Burningstone, you are right. “system” is a dictionary itself"
Error: Testing configuration at /config
ERROR:homeassistant.util.yaml.loader:while parsing a block mapping
in "/config/configuration.yaml", line 186, column 9
expected <block end>, but found '<scalar>'
in "/config/configuration.yaml", line 187, column 42
Failed config
General Errors:
- Error loading /config/configuration.yaml: while parsing a block mapping
in "/config/configuration.yaml", line 186, column 9
expected <block end>, but found '<scalar>'
in "/config/configuration.yaml", line 187, column 42
Line 187 is the one with the value_template
Color coding in ide 9 is also showing that some " ’ … are wrong
Not sure, can’t say I’ve done that before. @RalfP can you post a screenshot of the state attributes of that entity in Developer Tools > States? Something like this:
I believe the value_template would be something like
"{{ value_json['system']['L_ambient'] | int * 0.1 }}"
You’ll need to set the entity_id variable in the template sensor for that to work, otherwise Home Assistant won’t know what you’re referring to with that template.
I honestly have no idea if this will work since I’ve never done it before. I’m just hoping my interpretation of the docs along with the knowledge I do have about Home Assistant is correct here.
Error: Testing configuration at /config
ERROR:homeassistant.util.yaml.loader:while parsing a block mapping
in "/config/configuration.yaml", line 186, column 9
expected <block end>, but found '<scalar>'
in "/config/configuration.yaml", line 187, column 42
Failed config
General Errors:
- Error loading /config/configuration.yaml: while parsing a block mapping
in "/config/configuration.yaml", line 186, column 9
expected <block end>, but found '<scalar>'
in "/config/configuration.yaml", line 187, column 42
this version is throwing other errors but again messages from checking the config is more than one screen, so difficult to get to the firts line of the error
be sure to copy correctly, and not from the community posts. I can see incorrect curly quotes in your post, which are not accepted. Always type you own quotes…
what does the template show in the template editor?
Looks good to me but I don’t have access to such an object to test.
I think you will just have to wait for the OP’s feedback
You and @Tediore (& Marius & the OP (I’d also like to thank, the producers, the make-up artists, my parents and of course the caterers ) ) have done brilliantly so far, I’ve learnt a lot, thanks