Add significant change filtering to Google (#45566)

This commit is contained in:
Paulus Schoutsen 2021-01-26 21:45:09 +01:00 committed by GitHub
parent 568962552b
commit 712a5a098d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 69 additions and 35 deletions

View file

@ -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,