core/homeassistant/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 Optimize is_entity_exposed in emulated_hue by removing deprec… (#32718) 2020-03-13 21:47:47 -07:00
hue_api.py Add brightness state to emulated hue when devices support only color temp and brightness (#31834) 2020-03-13 23:42:47 +01:00
manifest.json Remove hassfest blacklisted rest (#32441) 2020-03-03 13:57:09 -08:00
services.yaml
upnp.py Use f-strings in integrations starting with "B"-"E" (#32121) 2020-02-24 08:47:52 -08:00