Reference dark_sky icon sensor as icon


The Dark Sky weather platform provides a sensor called “icon” which gives you an mdi icon name (string) based on the current weather conditions.

I want to reference this to act as an icon for one of my views.

I’ve tried icon: sensor.dark_sky_icon but that doesn’t work because the config requires “mdi:” to come first. “icon: mdi:sensor.dark_sky_icon” also doesn’t work.

Any idea how I can do this please? Thanks! :slight_smile: