Make hass optional within EntityRow as it may not be defined

This commit is contained in:
Ian Richardson 2018-10-27 21:00:06 -05:00
parent 8b02371786
commit bb483c9d72

View File

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