Help with automated lights depending on weather

Hi, the topic was discussed the other day: Simple automation based on the current weather

Alternatively: weather automation