lightd: should also flush in update_power_state