Skip to content

Support for nested Attributes #51

Answered by midiwidi
thomaschn asked this question in Q&A
Discussion options

You must be logged in to vote

Bingo !

Thanks for your hint. It was the return statement. Now it is working as expected.

Before I show my final configuration, let me answer your question why I calculate the x values myself. Hopefully I can explain it well enough :)
If you look at the very first post from @thomaschn or in my first post which shows the original weather data, you notice that all data points of the weather forecast is contained in the forecast attribute of a single weather entity data point.
It is not like usual sensor data which have 1 data point (usually the state) per entity which evolves over time so that the data series is contained in the history of the entity.
When I create my custom template sensor…

Replies: 9 comments 25 replies

Comment options

You must be logged in to vote
1 reply
@thomaschn
Comment options

Comment options

You must be logged in to vote
3 replies
@thomaschn
Comment options

@midiwidi
Comment options

@dbuezas
Comment options

Comment options

You must be logged in to vote
7 replies
@dbuezas
Comment options

@midiwidi
Comment options

@dbuezas
Comment options

@dbuezas
Comment options

@midiwidi
Comment options

Comment options

You must be logged in to vote
2 replies
@dbuezas
Comment options

@dbuezas
Comment options

Comment options

You must be logged in to vote
2 replies
@dbuezas
Comment options

@dbuezas
Comment options

Answer selected by dbuezas
Comment options

You must be logged in to vote
2 replies
@dbuezas
Comment options

@dbuezas
Comment options

Comment options

You must be logged in to vote
2 replies
@dbuezas
Comment options

@midiwidi
Comment options

Comment options

You must be logged in to vote
6 replies
@dbuezas
Comment options

@dbuezas
Comment options

@midiwidi
Comment options

@midiwidi
Comment options

@dbuezas
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants