Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Custom entity för current temperature #122

Open
DanielGoransson1 opened this issue Dec 10, 2022 · 6 comments
Open

Custom entity för current temperature #122

DanielGoransson1 opened this issue Dec 10, 2022 · 6 comments

Comments

@DanielGoransson1
Copy link

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.

@tomasrudh
Copy link

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

@tomasrudh
Copy link

I have done this in the pull request #124.

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

@DanielGoransson1
Copy link
Author

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.

@tomasrudh
Copy link

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.

@trybikowski
Copy link

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

@tomasrudh
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants