core/tests/components/emulated_hue
J. Nick Koston 750ed2facd
Optimize is_entity_exposed in emulated_hue by removing deprec… (#32718)
* emulated_hue: Optimize is_entity_exposed

Switch all list transversals in is_entity_exposed to
hash lookups

get_deprecated is now only called if explict_expose is
set

This funciton was iterating multiple lists per enitity
every time there was an update.  It was responsible for
a chunk of execution time when there are large number
of entities in home assistant.

* Complete deprecation of ATTR_EMULATED_HUE attribute

* Complete deprecation of ATTR_EMULATED_HUE attribute (remove const)

* Remove ATTR_EMULATED_HUE_HIDDEN and Rewrite tests
2020-03-13 21:47:47 -07:00
..
__init__.py Re-org emulated_hue and fix google home (#4708) 2016-12-04 10:57:48 -08:00
test_hue_api.py Optimize is_entity_exposed in emulated_hue by removing deprec… (#32718) 2020-03-13 21:47:47 -07:00
test_init.py Remove unnecessary string literal concatenations (#30360) 2020-01-02 21:17:10 +02:00
test_upnp.py Add Safe Mode (#30723) 2020-01-14 13:03:02 -08:00