Add significant change filtering to Google (#45566)
This commit is contained in:
parent
568962552b
commit
712a5a098d
7 changed files with 69 additions and 35 deletions
|
@ -2,10 +2,11 @@
|
|||
from typing import Any, Optional
|
||||
|
||||
from homeassistant.const import ATTR_DEVICE_CLASS
|
||||
from homeassistant.core import HomeAssistant
|
||||
from homeassistant.core import HomeAssistant, callback
|
||||
|
||||
|
||||
async def async_check_significant_change(
|
||||
@callback
|
||||
def async_check_significant_change(
|
||||
hass: HomeAssistant,
|
||||
old_state: str,
|
||||
old_attrs: dict,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue