Files
home-assistant-core/homeassistant/helpers
Clemens Wolff 711526e574 Cache condition in helpers.Script (#3797)
* Cache condition in helpers.Script

The caching is a simple in-memory, per-instance dictionary.
We use __str__ to format cache keys.

This naive implementation has some disadvantages (e.g., we won't be able
to cache two conditions that contain references to
distinct-but-equivalent object instances and we don't have any control
over the size of the condition cache), but for most simple use-cases the
approach should be good enough.

Resolves #3629

* Fix docstring style
2016-10-10 23:36:38 -07:00
..
2016-09-24 00:03:44 -07:00
2016-10-01 14:11:16 -07:00
2016-09-07 06:59:16 -07:00
2016-10-01 14:11:16 -07:00
2016-10-04 20:44:32 -07:00
2016-08-07 16:26:35 -07:00
2016-10-01 14:11:16 -07:00