Add websocket trigger/condition commands (#39109)

This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2020-08-24 23:01:57 +02:00
1 parent d5193e64de
commit 2a1fe9d29a
10 files changed
+204 -61

No files matched your search

+3
View File
@@ -302,6 +302,9 @@ class HomeAssistant:
target: target to call.
args: parameters for method to call.
"""
if target is None:
raise ValueError("Don't call async_add_job with None")
task = None
# Check for partials to properly determine if coroutine function