weather-chart-card icon indicating copy to clipboard operation
weather-chart-card copied to clipboard

Custom entity för current temperature

Open DanielGoransson1 opened this issue 2 years ago • 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.

DanielGoransson1 avatar Dec 10 '22 21:12 DanielGoransson1

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

tomasrudh avatar Mar 03 '23 22:03 tomasrudh

I have done this in the pull request #124.

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

tomasrudh avatar Mar 05 '23 08:03 tomasrudh

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.

DanielGoransson1 avatar Apr 26 '23 13:04 DanielGoransson1

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.

tomasrudh avatar Apr 26 '23 20:04 tomasrudh

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??

trybikowski avatar Nov 12 '23 09:11 trybikowski

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.

tomasrudh avatar Nov 12 '23 10:11 tomasrudh