Read a LDR and show data in Home Assistant

I need help with this:

In arduino i put a LDR and it would show me the value of that LDR in real time.
How i can do this in Home Assistant?