The darksky platform uses the Dark Sky web service as a source for meteorological data for your location. Documentation
user@server:~$ nano ~/.homeassistant/configuration.yaml
sensor:
- platform: darksky
api_key:
monitored_conditions:
- summary
- precip_probability
- apparent_temperature