platform: homeassistant entity_id: ${entity_id} attribute: ${id} id: ${id} on_value: then: - lambda: 'id(data_updated) = true;'