Unions UGT and CCOO called the 24-hour walkout under the slogan wages, housing, prices, less than three weeks before a snap national election.