Yevgenium/weather-chart-card

Custom entity för current temperature

DanielGoransson1 opened this issue · 6 comments

Hi,
Is it possible to add the possibility to choose your own sensor för current temperature? I have a unit i want to use instead of the forecast service. Great card.

That would be a great enhancement. Thanks for a nice card otherwise.

I have done this in the pull request #124.

Add like this to the config:
temp: sensor.ute_temp

I have done this in the pull request #124.

Add like this to the config: temp: sensor.ute_temp

Great! Could you please be so kind and show more in detail on how to do this? Thanks.

I have done this in the pull request #124.
Add like this to the config: temp: sensor.ute_temp

Great! Could you please be so kind and show more in detail on how to do this? Thanks.

You can see in the Pull Request under Files Changed what is changed. You can implement the same changes to your local file or wait for @Yevgenium to merge the pull request.

Hi @tomasrudh. Could you give me short info, where exactly I should change file? I have only one file: weather...js. Where is file main.js??

The changes in main.js you can see in the pull request. Until @Yevgenium has merged that, you will have to find the lines in the file weather-chart-card.js, it is around line 14800.