Home Assistant Unofficial Reference 2024.12.1
significant_change.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.helpers.significant_change.SignificantChangeProtocol
 
class  homeassistant.helpers.significant_change.SignificantlyChangedChecker
 

Namespaces

 homeassistant.helpers.significant_change
 

Functions

bool homeassistant.helpers.significant_change._check_numeric_change (float|None old_state, float|None new_state, float change, Callable[[int|float, int|float], int|float] metric)
 
None homeassistant.helpers.significant_change._initialize (HomeAssistant hass)
 
bool homeassistant.helpers.significant_change.check_absolute_change (float|None val1, float|None val2, float change)
 
bool homeassistant.helpers.significant_change.check_percentage_change (float|None old_state, float|None new_state, float change)
 
bool homeassistant.helpers.significant_change.check_valid_float (str|float value)
 
SignificantlyChangedChecker homeassistant.helpers.significant_change.create_checker (HomeAssistant hass, str _domain, ExtraCheckTypeFunc|None extra_significant_check=None)
 
bool homeassistant.helpers.significant_change.either_one_none (Any|None val1, Any|None val2)
 

Variables

 homeassistant.helpers.significant_change.CheckTypeFunc
 
 homeassistant.helpers.significant_change.ExtraCheckTypeFunc
 
string homeassistant.helpers.significant_change.PLATFORM = "significant_change"