platypush/platypush/entities
Fabio Manganiello f17245e8c7
Send an EntityUpdateEvent only if an entity has already been persisted
If an event comes from an entity that hasn't been persisted yet on the
internal storage then we wait for the entity record to be committed
before firing an event. It's better to wait a couple of seconds for the
database to synchronize rather than dealing with entity events with
incomplete objects.
2022-04-11 00:38:11 +02:00
..
__init__.py Use Redis instead of an in-process map to store the entity/plugin registry 2022-04-07 00:18:11 +02:00
_base.py - icon_class should not be part of the backend model 2022-04-08 16:49:47 +02:00
_engine.py Send an EntityUpdateEvent only if an entity has already been persisted 2022-04-11 00:38:11 +02:00
_registry.py Added documentation for plugin/entity type registry 2022-04-07 01:47:42 +02:00
devices.py - icon_class should not be part of the backend model 2022-04-08 16:49:47 +02:00
lights.py - icon_class should not be part of the backend model 2022-04-08 16:49:47 +02:00
switches.py - icon_class should not be part of the backend model 2022-04-08 16:49:47 +02:00