DayStateInterface now has static type() rather than uid()