Skip to content

Weird attribute names #138

Closed Answered by autoSteve
home409ca asked this question in Q&A
Aug 16, 2024 · 7 comments · 6 replies
Discussion options

You must be logged in to vote

Ahh.

I made a design decision to use the site ID and not the name.

The site ID will never change, but the site name could be changed, and that would result in things breaking and needing to be fixed in HA.

If you do actually want to use those attributes, then you could create template sensors using any name you wish that get required attributes using something like {{ state_attr('sensor.solcast_pv_forecast_peak_forecast_today', 'estimate10-1234-5678-9012-3456') | float(0) }}.

Replies: 7 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

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

@autoSteve
Comment options

@home409ca
Comment options

@autoSteve
Comment options

Answer selected by autoSteve
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
Converted from issue

This discussion was converted from issue #137 on August 17, 2024 00:24.