UNPKG

@hakit/core

Version:

A collection of React hooks and helpers for Home Assistant to easily communicate with the Home Assistant WebSocket API.

40 lines (39 loc) 987 B
function r(e) { switch (e) { case "clear-night": return "mdi:weather-night"; case "cloudy": return "mdi:weather-cloudy"; case "fog": return "mdi:weather-fog"; case "hail": return "mdi:weather-hail"; case "lightning": return "mdi:weather-lightning"; case "lightning-rainy": return "mdi:weather-lightning-rainy"; case "partlycloudy": return "mdi:weather-partly-cloudy"; case "pouring": return "mdi:weather-pouring"; case "rainy": return "mdi:weather-rainy"; case "snowy": return "mdi:weather-snowy"; case "snowy-rainy": return "mdi:weather-snowy-rainy"; case "sunny": return "mdi:weather-sunny"; case "windy": return "mdi:weather-windy"; case "windy-variant": return "mdi:weather-windy-variant"; case "exceptional": default: return "mdi:alert-circle-outline"; } } export { r as weatherIcon }; //# sourceMappingURL=weather.js.map