Openweathermap forecast weather_code

Hello!

I would like to bring the weather_code that is in an hour to a new entity. What is the best way to do this?

Thanks in advance.