add #last and spec for sensor Relation