Problems with a public API

I have a problem with this public api “https://analisi.transparenciacatalunya.cat/resource/gn9e-3qhr.json” And when creating the sensors I observed that the data fluctuated in an erratic manner. I am attaching the sensors that were created during configuration. Yam. I require your assistance if it’s possible.

imagen_2024-05-02_185447971

Every time I load this API, the values of nivell_absolut are different. I’d say if the fluctuation you describe is undesirable for you, then the problem is the API, not your sensors.

Thanks for everything. Is there any way I can integrate this api into home assistant?

It seems like you already have. Maybe you can further describe what you have done and what you would like to happen.

Please do not post pictures of text. For us to help you we need to be able to copy, paste and edit your config.

Post the text correctly formatted for the forum: https://community.home-assistant.io/t/how-to-help-us-help-you-or-how-to-ask-a-good-question/114371#oneone-format-it-properly-16

Ups sorry.
I have a problem with this public api “https://analisi.transparenciacatalunya.cat/resource/gn9e-3qhr.json” And when creating the sensors I observed that the data fluctuated in an erratic manner. I am attaching the sensors that were created during configuration. Yam. I require your assistance if it’s possible.

imagen_2024-05-02_185447971

Posting code text requires the use of the back tick in block format. Posting the same pic does not expedite a solution.

image

Example

your code

image