You don’t have a unique_id defined; is there a possibility that you have multiple sensors with the same name and you’re looking at the wrong one? Check if there is a sensor.solat_2 or some other entity like that in your list.
Thank you for your insight.
I have now went through dev tools/states and found that there is only one sensor.solat which has all the values, but the date is stated as 20 November 2023. This can confirm that the last time the values were updated were on that date.
How do I determine if HA is still able to fetch real-time values from the link provided in the OP?
In regards to the unique_id, it seemed that I have only one of this in the list of entities based on devtools/states.
As petro said, check your logs. If you don’t see anything relevant, go to developer tools—> YAML and scroll down to find the button to reload your rest entities. Then check the logs again.
Unfortunately, nothing relevant came from the logs that can direct me to the issue that needs to be resolved.
(I have updated through devtools/yaml/rest entities and notify services)
This is what was retrieved from the sensor sensor.solat
{“PrayerDate”:“20 November 2023”,“Hijri”:“6 Jamadilawal 1445H”,“Subuh”:“5:28”,“Syuruk”:“6:49”,“Zohor”:“12:52”,“Asar”:“4:15”,“Maghrib”:“6:53”,“Isyak”:“8:06”}
Is there a tool/an advise on how I can determine if I am allowed to scrape from the API link?
If they blocked it, you would not get a response. This looks like there’s something caching the result for speed, and not realising it is transient data. Are you maybe using a service for web accelleration like a proxy cache or some other bandwidth saving feature?
Interesting, I am not aware of any web acceleration service/bandwidth saving tool that I voluntarily installed/integrate onto my home assistant or router.
Unfortunately, I am not equip on how to ascertain this.
The same thing happened to me.
I have not found a way to “bruteforce” a fetch through the API to update on my HA.
If you were me trying to get these updates to work as per what it was, would you troubleshoot further or try and retrieve the values elsewhere, such as this link here
To be honest, I rather find a solution to the current issue to understand further through troubleshooting. This could possibly increase my knowledge on this matter.
“1625627373” is just random numbers to force the data to be updated to the current date.
I am currently looking to find a way to automate these random numbers to generate a new one each day without me manually changing the numbers each day through file editor.