I just scrolled down your post and realised you have another section with the mempool-blocks endpoint though I’ll add that in a bit and make another new release
as you see on my dashboard I have “790 days”, thats days since ATH.
I made my own sensor in your code to calculate that but it was removed when I upgraded.
I’ve been fiddling with it last couple of days and I do notice that sometimes I see ‘unavailable’. I would assume sometimes it does not get the info through the API. Which is fine tbh because 99% of the time it works fine.
However is there some way when it doesn’t get data and it shows ‘unavailable’ to just use the latest value that was coming through?
Hello, I would also like to integrate the fear and greed sensor into my system. Can you possibly share the sensor from the configuration? I’ve already searched but haven’t found anything. Many thanks in advance and a nice dashboard
I installed cryptoinfo_advanced via HACS and restarted HASS, but I do not see it under settings / Integrations list, and I also have the config in my configuration.yml
What am I doing wrong and can someone point me in the right direction?
It was not under the sensor section, I moved it and restarted hass. Okay now I see it under Integrations and all the entities. However the attributes for all the entities are unknown.
I see this for crypto info under my Hass logs
Traceback (most recent call last): File "/config/custom_components/cryptoinfo_advanced/crypto_sensor.py", line 738, in _async_api_fetch api_data = extract_data(json.loads(resp_text)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/cryptoinfo_advanced/crypto_sensor.py", line 760, in _extract_data_price_main_full return json_data[0] ~~~~~~~~~^^^ IndexError: list index out of range
Traceback (most recent call last): File "/config/custom_components/cryptoinfo_advanced/crypto_sensor.py", line 1401, in _async_update api_data = await self._fetch_price_data_main(api_data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/cryptoinfo_advanced/crypto_sensor.py", line 900, in _fetch_price_data_main raise ValueError() ValueError During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/config/custom_components/cryptoinfo_advanced/crypto_sensor.py", line 738, in _async_api_fetch api_data = extract_data(json.loads(resp_text)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/cryptoinfo_advanced/crypto_sensor.py", line 766, in _extract_data_price_simple_full return json_data[self.cryptocurrency_name] ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
Thank you so much, it is now working! I really appreciate you looking out for me and helping. Love this community.
Now to design an apex chart card to track line graph for all related entities here.