Add missing clear-night weather condition (#47666)

pull/47741/head
hung2kgithub 2021-03-11 04:48:06 +08:00 committed by GitHub
parent 54a9b69ecb
commit 15da1c4785
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,7 @@
import voluptuous as vol
from homeassistant.components.weather import (
ATTR_CONDITION_CLEAR_NIGHT,
ATTR_CONDITION_CLOUDY,
ATTR_CONDITION_EXCEPTIONAL,
ATTR_CONDITION_FOG,
@ -29,6 +30,7 @@ from .const import DOMAIN, PLATFORMS
from .template_entity import TemplateEntity
CONDITION_CLASSES = {
ATTR_CONDITION_CLEAR_NIGHT,
ATTR_CONDITION_CLOUDY,
ATTR_CONDITION_FOG,
ATTR_CONDITION_HAIL,