Fix invalid state (#16558)

* Fix invalid state

* Make slightly more efficient in unsubscribing

* Use uuid4"
This commit is contained in:
Paulus Schoutsen
2018-09-11 21:40:35 +02:00
committed by GitHub
parent 629c4a0bf5
commit 06af76404f
3 changed files with 45 additions and 7 deletions

View File

@@ -225,6 +225,9 @@ ATTR_ID = 'id'
# Name
ATTR_NAME = 'name'
# Data for a SERVICE_EXECUTED event
ATTR_SERVICE_CALL_ID = 'service_call_id'
# Contains one string or a list of strings, each being an entity id
ATTR_ENTITY_ID = 'entity_id'