updated tsc

This commit is contained in:
ari committed 2022-05-17 22:10:08 -04:00
1 parent cce2e03053
commit db49ed02ed
1 file changed
+1 -1
+1 -1
View File
@@ -95,7 +95,7 @@ export const AutomationTriggerZone = st.object({
export const AutomationTriggerDevice = st.object({
...AutomationTriggerBase,
platform: st.literal('device'),
entity_id: st.string(),
entity_id: st.optional(st.string()),
device_id: st.string(),
domain: st.string(),
type: st.string(),