Merge pull request #1895 from iantrich/row-types

Make hass optional within EntityRow as it may not be defined
This commit is contained in:
Ian Richardson 2018-10-27 21:17:45 -05:00 committed by GitHub
commit ec6db9c8ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,6 +23,6 @@ export type EntityRowConfig =
| WeblinkConfig;
export interface EntityRow {
hass: HomeAssistant;
hass?: HomeAssistant;
setConfig(config: EntityRowConfig);
}