Skip to content

Sensor used for forecasting in the Energy dashboard #167

Answered by autoSteve
nicopret1 asked this question in Q&A
Discussion options

You must be logged in to vote

Also what will be required for Home Assistant to recognise my custom forecasting sensor?

With respect (and a little humour),

  • Ditch the sensor idea.
  • Fork BJReplay/ha-solcast-solar.
  • Learn Python if you don't know it.
  • Alter the Solcast._data_energy dict data after it has been built to suit the need (or alter the _data_forecasts data before the _data_energy gets created like we do with dampening). Please conform with HASS coding style guidelines.
  • Then add a release to your fork (using the same code version number forked). The download ZIP will get automatically created.
  • Then add a custom HACS repo for your fork and download over the top of this integration.
  • Create a PR if you think others …

Replies: 4 comments 11 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
7 replies
@autoSteve
Comment options

@Nilogax
Comment options

@autoSteve
Comment options

@Nilogax
Comment options

@autoSteve
Comment options

Answer selected by nicopret1
Comment options

You must be logged in to vote
4 replies
@BJReplay
Comment options

@zhouska
Comment options

@zhouska
Comment options

@gcoan
Comment options

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