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?