Add state to sensord.