Home Assistant Unofficial Reference 2024.12.1
util.py File Reference

Go to the source code of this file.

Namespaces

 homeassistant.components.group.util
 

Functions

bool homeassistant.components.group.util._values_equal (Iterator[Any] values)
 
bool homeassistant.components.group.util.attribute_equal (list[State] states, str key)
 
Iterator[Any] homeassistant.components.group.util.find_state (list[State] states)
 
Iterator[Any] homeassistant.components.group.util.find_state_attributes (list[State] states, str key)
 
int homeassistant.components.group.util.mean_int (*Any args)
 
tuple[float|Any,...] homeassistant.components.group.util.mean_tuple (*Any args)
 
Any|None homeassistant.components.group.util.most_frequent_attribute (list[State] states, str key)
 
Any homeassistant.components.group.util.reduce_attribute (list[State] states, str key, Any|None default=None, Callable[..., Any] reduce=mean_int)
 
bool homeassistant.components.group.util.states_equal (list[State] states)