Skip to content

Templating sensor in devices yaml config #895

Answered by make-all
blakadder asked this question in Q&A
Discussion options

You must be logged in to vote

This error looks like it may be due to an incorrectly formatted mapping block. mapping always contains a list, even if there is only one default item. It should look something like this:

mapping:
  - invert: true
range:
  min: 0
  max: 90

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@make-all
Comment options

Answer selected by blakadder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants