The washing machine or dishwasher has a turbidity sensor and a program control device. The sensor delivers separate measuring signals corresponding to a transmission measurement and a reflection measurement. The control unit communicating with the sensor is designed to control the washing operation in accordance with these measuring signals or with processing signals based on these measuring signals.